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 > Unable to drop function because of dependency

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-10, 16:51
jkuyken jkuyken is offline
Registered User
 
Join Date: May 2010
Posts: 21
Unable to drop function because of dependency

I tried to drop a function which is used in several views in our system. I have identified many of them by going through the published source code and can drop them so I can subsequently drop the function, but this is a tedious process.

Does anyone know a query to identify the dependencies that prevent the function from being dropped?
Reply With Quote
  #2 (permalink)  
Old 07-20-10, 18:56
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
try syscat.routinedep
Reply With Quote
Reply

Tags
db2, dependencies, functional dependencies, functions, sql

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