How can I step into a SQL Server stored proc from my C# code?

后端 未结 4 2218
故里飘歌
故里飘歌 2020-12-13 18:37

I am debugging some C# code that uses Ado.net to call a stored proc (TSQL) in SQL Server. How can I step into the stored proc?

(I think I have seen this demoed by

4条回答
  •  天命终不由人
    2020-12-13 19:24

    In Solution Explorer, right-click the project (not the solution) and open the Property pages. Click Configuration Properties in the tree and then click to select the SQL Server Debugging check box on the Debugging page to enable stored procedure debugging.

    reference: http://support.microsoft.com/kb/316549

提交回复
热议问题