I have sample DB, pubs.
I want to view stored procedures in the pubs db.
(The stored procedure names I want to see are "GetEmployeeCount" and "GetEmployeeCountByLastInitial"
How could I see it in the SQL Server 2012?
Technology Tips and News
I have sample DB, pubs.
I want to view stored procedures in the pubs db.
(The stored procedure names I want to see are "GetEmployeeCount" and "GetEmployeeCountByLastInitial"
How could I see it in the SQL Server 2012?
Hi,
Like so in the image below
You can also script them out by right clicking on the proc > Script stored procedure option.
Hope This helps
Thanks
Bhanu
Alternatively you can see the content of the stored procedures by using sp_helptext (assuming you have sufficient permission),
sp_helptext GetEmployeeCount sp_helptext GetEmployeeCountByLastInitial
in addition, to list all the stored procedures from your database you can get it as below,
Select * From Sys.Procedures;
you can see it in Object Explorer details tab
see
http://visakhm.blogspot.in/2013/02/object-filtering-using-ssms-object.html