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
 SQL Server Development (2000)
 Debugging Stored Procedure

Author  Topic 

DMP
Starting Member

41 Posts

Posted - 2004-12-22 : 05:25:08
How can i Debug Stored procedure step by step from SQL SERVER ?

Kristen
Test

22859 Posts

Posted - 2004-12-22 : 07:24:47
Query Analyser

Open Object Browser
Open tree to show Database and then Stored Procedures
Right click required SProc and choose DEBUG

Kristen
Go to Top of Page

DMP
Starting Member

41 Posts

Posted - 2004-12-22 : 23:37:35
Ok , That's Fine . But after that
how can i execute line by line debugging like VB ?
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2004-12-23 : 00:04:36
Isn't that what the DEBUG function, above, does?

Kristen
Go to Top of Page

DMP
Starting Member

41 Posts

Posted - 2004-12-23 : 00:20:55
Actually, When I star for debugging After Getting the parameter from Query Analyser

It will be giving some Error msg :

Server: Msg 504, Level 16, State 1, Procedure sp_sdidebug, Line 1
[Microsoft][ODBC SQL Server Driver][SQL Server]Unable to connect to debugger on TAO (Error = 0x800706ba). Ensure that client-side components, such as SQLDBREG.EXE, are installed and registered on DMAHAPATRA1. Debugging disabled for connection 72.

DMAHAPATRA1=Client Computer Name
TAO=Database Name

Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2004-12-23 : 12:49:42
Are the "client-side components, such as SQLDBREG.EXE, installed on the client and registered on DMAHAPATRA1" ?

Kristen
Go to Top of Page

DMP
Starting Member

41 Posts

Posted - 2004-12-27 : 00:28:26
yes,SQLDBREG.EXE, installed on the client and registered on DMAHAPATRA1
Go to Top of Page
   

- Advertisement -