Hello,
(Using DB2/LINUX 8.2.0)
HOW-TO: recreate a big set of interdependent UDFs... without having to
do it manually because of the imposed drop order due to the RESTRICT
keyword of the DROP statement.
There are also triggers and views mixed in the spaghetti.
Background: I've a huge set of .sql files which acts as the master
repository of DB objects source code to be re-compiled (DROP & CREATE)
automatically every night in a development database.
Interesting note: Informix, Oracle and SQL Server all permit "drop and
mark dependent objects as invalid".