Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 11:37 AM
tomtailor@freesurf.fr
Guest
 
Posts: n/a
Default how to select source of procedures and functions

Hello!

I'm new to DB2 as you can see at the Posting-Count.

I'm not sure but I think that I read about that the Source of stored
Procedures and Functions get stored in SYS-Tables.

Is this right? How can I get back the Source of my Functions??

  #2  
Old November 12th, 2005, 11:37 AM
Serge Rielau
Guest
 
Posts: n/a
Default Re: how to select source of procedures and functions

tomtailor@freesurf.fr wrote:[color=blue]
> Hello!
>
> I'm new to DB2 as you can see at the Posting-Count.[/color]
Well, then so am I.... ;-)
[color=blue]
> I'm not sure but I think that I read about that the Source of stored
> Procedures and Functions get stored in SYS-Tables.[/color]
The source of SQL Functions an SQL Procedures gets stored in
SYSCAT.ROUTINES.TEXT

In general you can get the DDL of your DB reverse engineered using teh
db2look application (it's in sqllib/bin and should be on your OS path I
think)

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
  #3  
Old November 12th, 2005, 11:37 AM
tomtailor@freesurf.fr
Guest
 
Posts: n/a
Default Re: how to select source of procedures and functions

aaaahh -ok
THX a lot!!

cu
Christian

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.