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.
| 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 AnalyserOpen Object BrowserOpen tree to show Database and then Stored ProceduresRight click required SProc and choose DEBUGKristen |
 |
|
|
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 ? |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2004-12-23 : 00:04:36
|
| Isn't that what the DEBUG function, above, does?Kristen |
 |
|
|
DMP
Starting Member
41 Posts |
Posted - 2004-12-23 : 00:20:55
|
| Actually, When I star for debugging After Getting the parameter from Query AnalyserIt 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 NameTAO=Database Name |
 |
|
|
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 |
 |
|
|
DMP
Starting Member
41 Posts |
Posted - 2004-12-27 : 00:28:26
|
| yes,SQLDBREG.EXE, installed on the client and registered on DMAHAPATRA1 |
 |
|
|
|
|
|
|
|