Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging Stored Procedure
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01554375
Message ID:
01554394
Vues:
50
>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!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform