I heard that there is a keyboard short cut to bring up the code of a SQL Server 2005 (Management Studio) stored procedure. This key combination would do the same function as sp_helptext.
This may only be an Urban Legend.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The first thing I do after installing management studio on a new machine is to set sp_helptext to be CTL+F1 in management studio.
Tools / Options / Environment / Keyboard / Ctrl-F1 == sp_helptext
Then, i can highlight any view, stored proc, function, whatever – and press CTL-F1 and get the text of the object in my results window. Not sure if this is exactly what you’re looking for, but it definitely helps me to be more productive in the query windows.