If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > System catalog in db2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-03, 16:15
manga manga is offline
Registered User
 
Join Date: Oct 2003
Posts: 18
System catalog in db2

It will be great if anyone can let me know what will system catalog contain? packages ,tables,views,indexes,triggers or what?
Reply With Quote
  #2 (permalink)  
Old 10-08-03, 16:43
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Yes, it contains all that and more.

Look in the SQL Reference manual: Appendix D (V7.x , 8.x)
to see all the views defined for the catalog.

Andy
Reply With Quote
  #3 (permalink)  
Old 10-08-03, 20:52
manga manga is offline
Registered User
 
Join Date: Oct 2003
Posts: 18
db2

Thanks for ur reply,Andy.
Reply With Quote
  #4 (permalink)  
Old 10-17-03, 16:41
manga manga is offline
Registered User
 
Join Date: Oct 2003
Posts: 18
Re: db2

I like to know for what, sql source statements will be there in system catalog? In one book I read that constraints and triggers have sql source stmts..but when i tried syscat.triggers and syscat.views, I got sql source stmt but not for constraints..
can anyone clarify this?

-manga
Reply With Quote
  #5 (permalink)  
Old 10-20-03, 11:47
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Look in syscat.checks
Reply With Quote
  #6 (permalink)  
Old 10-20-03, 14:33
manga manga is offline
Registered User
 
Join Date: Oct 2003
Posts: 18
what sql source stmt does sys catalog contains?

Sorry...I didn't understand..Do u mean to say that we can find sql source stmts in syscat.checks? If so, I entered select * from syscat.checks and did get any sql code...can u please clarify on this?

-manga
Reply With Quote
  #7 (permalink)  
Old 10-20-03, 14:58
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Re: what sql source stmt does sys catalog contains?

Manga,
I think what you are looking for is in syscat.columns.text

Andy

Quote:
Originally posted by manga
Sorry...I didn't understand..Do u mean to say that we can find sql source stmts in syscat.checks? If so, I entered select * from syscat.checks and did get any sql code...can u please clarify on this?

-manga
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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