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:
01554396
Vues:
38
>>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.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform