|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, December 20, 2010 4:47 AM
Points: 42,
Visits: 141
|
|
Hi All,
Just look into the procedure below.
[color=#D80000]Go CREATE PROC usp_Sample ( @intOutput INT OUTPUT ) AS SELECT @intOutput = 1 GO[/color]
Like VS 2005, where we can debug through codes, is it possible to debug through this procedure while running my web application?
I think it may sound crazy about this question. But i am sure my question is valid.
Thanks in advance for your response.
"I Love Walking In The Rain So No One Can See Me Crying ! " ~ Charlie Chaplin
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 4:59 PM
Points: 830,
Visits: 526
|
|
In VS2005, you can create a new database project, which will allow you to create and debug test scripts. You can step into the sql stored procedure code this way, but remember that the granularity of most tsql code (at least well-written ones) is not very high. A single select statement, even a really complicated one, is one statement.
Another way to track what's going on from your web application is to use SQL profiler.
Dan Guzman - Not the MVP (7/22/2010) All questions have to be prefaced by Server version and 'according to MS Docs' or 'my own personal opinion based on how much detail I felt like digging into at the time.'
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, December 20, 2010 4:47 AM
Points: 42,
Visits: 141
|
|
Thanks :)
"I Love Walking In The Rain So No One Can See Me Crying ! " ~ Charlie Chaplin
|
|
|
|