Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug sql in visual studio

Is there a way of debugging sql in visual studio

like image 419
renilative Avatar asked Oct 15 '25 15:10

renilative


1 Answers

There is a way to debug stored procedures in visual studio running on SQL server. You can establish a connection to your SQL server through the "Servers" tab. Then simply open a stored procedure, set a breakpoint and run the stored procedure from visual studio with your parameters.

Didn't do that for a couple of time, but i am sure it works on any way from visual studio with stored procedures. Debugging a normal SQL command works in SQL server management studio, don't know if it work with visual studio.

like image 55
Alexander Avatar answered Oct 18 '25 08:10

Alexander



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!