pvsbandi
asked on
how to drop a procedure/function without dropping the dependencies
Hi,
I'm on Db2 UDB 8.2
I have a fucntion, which is calling a stored procedure inside it.
I made changes to the function and tried to compile it, when it said, it cannot drop it as it has a dependency as the stored procedure. Soon i realized that there are a number of other functions that use this function and so, they all depend on this function.
I'm not changing any of the dependencies. Can i force drop this function and re-create it without dropping all the dependencies?
Please advise.
I'm on Db2 UDB 8.2
I have a fucntion, which is calling a stored procedure inside it.
I made changes to the function and tried to compile it, when it said, it cannot drop it as it has a dependency as the stored procedure. Soon i realized that there are a number of other functions that use this function and so, they all depend on this function.
I'm not changing any of the dependencies. Can i force drop this function and re-create it without dropping all the dependencies?
Please advise.
how about just altering the function instead of dropping and creating it?
ASKER
Thanks! Sorry, i wrote it reverse..
I have to modify the stored procedure which is called by many functions.
Can we force drop the procedure after the change?
I have to modify the stored procedure which is called by many functions.
Can we force drop the procedure after the change?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Kent!
i also said you should alter it... :-)