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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check for existence of Stored Proc 1

Status
Not open for further replies.
Nov 15, 2000
322
US
I'm creating a routine where I need to drop a Stored Procedure. I only want the command to execute if the SP exists to avoid any failures.

How can I get this information to know if the SP exists or not?

SQL 2005
Thanks in advance.

Monkeylizard
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.
 
Thanks SQLDenis. Have a star!

Monkeylizard
Sometimes just a few hours of trial and error debugging can save minutes of reading manuals.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top