Unix Technical Forum

Object creation

This is a discussion on Object creation within the DB2 forums, part of the Database Server Software category; --> Hi, I am trying to create a function in db2. The function is getting created successfully, but when I ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:35 AM
chettiar
 
Posts: n/a
Default Object creation

Hi,

I am trying to create a function in db2. The function is getting
created successfully, but when I query the syscat.functions, i dont
find my function.

also when i try to recreate the function, it says similar object
already exists. Can some one please help me

chettiar

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:35 AM
jefftyzzer
 
Posts: n/a
Default Re: Object creation

Hi, Chettiar:

A few things:

1. How are you querying syscat.functions, and can you reply to this
forum w/ the query?
2. It's recommended that you use syscat.routines (not that switching
will fix your current problem--it's an issue of view deprecation).
3. Can you also reply with the CREATE and DROP FUNCTION statements
you're using? I suspect it's an issue of destination schema.

Regards,

--Jeff

chettiar wrote:
> Hi,
>
> I am trying to create a function in db2. The function is getting
> created successfully, but when I query the syscat.functions, i dont
> find my function.
>
> also when i try to recreate the function, it says similar object
> already exists. Can some one please help me
>
> chettiar


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com