Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check existence of a stored procedure

Status
Not open for further replies.

dataforums

Programmer
May 3, 2005
25
US
Does anyone know how to check if a DB2 stored Procedure exists in the database?
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top