if you are using SQL Server 2000, you can use its Query Analyzer to debug stored procedures1. Open Query Analyzer
2. If the Object browser pane is not visible, press F8
3. In the Object browser, find your stored procedure
4. Right-click the SP, click Debug

解决方案 »

  1.   

    thank you , 但是我执行出现下列提示:[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot load the DLL mssdi98.dll, or one of the DLLs it references. Reason: 126(找不到指定的模块。).
    what's meaning?thank you !!!
      

  2.   

    what os are you using? win98? see
    Troubleshooting the Transact-SQL Debugger
    http://msdn.microsoft.com/library/en-us/trblsql/tr_servtools_5cfm.asp?frame=true