How to do - MS SQL C# Excel Access
Friday, 15 January 2016
MSSQL - How to check if stored procedure exists, and if exists display its definition
Watch this example on YouTube:
If Exists(Select * from sys.objects where type = 'P' and name = 'spTest')
select OBJECT_DEFINITION (Object_Id(N'spTest'));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment