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 > Column use by plans/package

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-05, 12:18
hjstaruk hjstaruk is offline
Registered User
 
Join Date: Feb 2005
Posts: 1
Column use by plans/package

Can I query the system tables to find out if a particular column is used by any plan/package?
Reply With Quote
  #2 (permalink)  
Old 02-16-05, 13:57
urquel urquel is offline
Registered User
 
Join Date: Aug 2004
Posts: 330
SYSPACKDEP will show the package dependencies at the table/view/synonym/tablespace/index/alias/function/stored procedure level. You can query the STMT column of the SYSPACKSTMT and look for references to the column name in the associated sql statement unless the column is not explicitly named in the statement.
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