Jun 22, 2005 #1 dataforums Programmer Joined May 3, 2005 Messages 25 Location US Does anyone know how to check if a DB2 stored Procedure exists in the database?
Jun 23, 2005 #2 sln007 MIS Joined Nov 14, 2001 Messages 129 Location US In the database, acces the "SYSCAT.PROCEDURES" table, to see Stored Procedures. Here is an DB2 website for utility informational tables that can tell you much. https://aurora.vcu.edu/db2help/db2s0/frame3.htm#rocatv Steve N. State of Ohio, MIS Upvote 0 Downvote
In the database, acces the "SYSCAT.PROCEDURES" table, to see Stored Procedures. Here is an DB2 website for utility informational tables that can tell you much. https://aurora.vcu.edu/db2help/db2s0/frame3.htm#rocatv Steve N. State of Ohio, MIS
Jun 23, 2005 Thread starter #3 dataforums Programmer Joined May 3, 2005 Messages 25 Location US Thanks!. That helps. Upvote 0 Downvote
Jun 23, 2005 #4 sln007 MIS Joined Nov 14, 2001 Messages 129 Location US dataforums, Actually, the SQL for listing all SP's is in SYSIBM.SYSROUTINES SELECT * FROM SYSIBM.SYSROUTINES WHERE SCHEMA = 'schema-name' Steve N. State of Ohio, MIS Upvote 0 Downvote
dataforums, Actually, the SQL for listing all SP's is in SYSIBM.SYSROUTINES SELECT * FROM SYSIBM.SYSROUTINES WHERE SCHEMA = 'schema-name' Steve N. State of Ohio, MIS