Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging Stored Procedure
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01554375
Message ID:
01554394
Views:
51
>Is there a simple approach of debugging a stored procedure? When I am running an ASP.NET app I want to see if certain IF conditions were met and the code after the IF was executed. One simple way I am thinking is if I can create some kind of token or semaphore file that I can look at (after the procedure) is done? How do you do it?

You can debug a stored procedure from SSMS by opening a new query window and entering the command to execute the stored procedure (ie.. EXEC myProc myparameter1, myparameter2..)

Instead of executing the command directly, open the Debug menu (on the menu at the top) and click on Debug. It will step you into the procedure.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform