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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Debugging stored procs

Author  Topic 

vgr.raju
Yak Posting Veteran

95 Posts

Posted - 2005-08-11 : 02:29:40
Hello,
I am working in a database which consists stored procedures of about 1000 to 2000 lines.
If i want to trace the parameter values in middle of the stored procedure,I have to insert print statement and No one is really interested in doing that in the work environment.
I have strictly given the instruction not to touch the stored procedures.
Is there any way I can connect to VS.Net and step through the existing stored procedure?
Is it possible for me to pass parameter values in VB.Net and open the procedure and step through line by line.
Please some one explain how to acomplish that task.

Thanks in advance.

mwjdavidson
Aged Yak Warrior

735 Posts

Posted - 2005-08-11 : 04:26:22
Query Analyser has a built in T-SQL debugger. Just right-click on the stored proc and select 'Debug'.

Mark
Go to Top of Page

kapilarya
Yak Posting Veteran

86 Posts

Posted - 2005-08-11 : 05:07:54
thanks Mark



Kapil Arya
Go to Top of Page

mwjdavidson
Aged Yak Warrior

735 Posts

Posted - 2005-08-11 : 05:56:18
No problem

Mark
Go to Top of Page
   

- Advertisement -