Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 delete a StoredProcedure by query

Author  Topic 

Exir
Posting Yak Master

151 Posts

Posted - 2009-05-25 : 01:13:58
Is it possible to delete a SP from database by writing query? if yes, whts is the query?
thanks

senthil_nagore
Master Smack Fu Yak Hacker

1007 Posts

Posted - 2009-05-25 : 01:23:13
drop <spname>


Senthil.C
------------------------------------------------------
[Microsoft][ODBC SQL Server Driver]Operation canceled
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2009-05-25 : 01:25:35
drop proc <spname>


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -