Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Using Debugger for system variables

Author  Topic 

Rock_query
Yak Posting Veteran

55 Posts

Posted - 2013-05-14 : 19:56:48
If I press F11 to enter "Step Into" in the debugger, I can press F11 to execute one row at a time and see the values of variables change. I can do this for local variables.

But how can I do this for system variables? I want to check the value of @@FETCH_STATUS

waterduck
Aged Yak Warrior

982 Posts

Posted - 2013-05-14 : 22:13:04
SELECT @@FETCH_STATUS
Go to Top of Page

Rock_query
Yak Posting Veteran

55 Posts

Posted - 2013-05-15 : 15:04:24
quote:
Originally posted by waterduck

SELECT @@FETCH_STATUS



Thank you. It worked. But how would I do this if I wanted to execute one line of code at a time (pressing F11) so I can see when the values of @@FETCH_STATUS changes?
Go to Top of Page

waterduck
Aged Yak Warrior

982 Posts

Posted - 2013-05-15 : 23:01:36
click the debug button?
Go to Top of Page
   

- Advertisement -