SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Lock Request Timeout - error 1222
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Bill_C
Constraint Violating Yak Guru

United Kingdom
296 Posts

Posted - 10/01/2012 :  01:40:40  Show Profile  Reply with Quote
I'm getting this message on one of my databases whilst trying to refresh the list of stored procedures and need to alter/modify one of my Stored Procedures quickly.

My question is:-
Is there a way of opening a stored procedure programatically to alter it without having to right click on it's name and selecting 'Modify'?

i.e
Is there a back door to fire up the command within SQL Server that lists the SP for modification?

Bill_C
Constraint Violating Yak Guru

United Kingdom
296 Posts

Posted - 10/01/2012 :  01:50:25  Show Profile  Reply with Quote
OK, cancel that, got it:-

sp_helptext 'YourSchemaName.YourProcedureName';

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000