UncleSam89


1). When you right click stored procedure in the Query Analyzer on 2000 you can select debug from the list of menues.

I can't find this functionality in the SQL Server Management studio.

2). By the way I also can't find where went the output of my print statement.

3). Does server cursor functionality is still working in 2k5





Re: How to debug database engine stored procedures on SQL Server 2005?

Arnie Rowland


No Query Analyzer anymore. The debug functionality has 'moved' into Visual Studio.

1. Try this resource: http://msdn2.microsoft.com/en-us/library/ms165034(VS.80).aspx

2. Print statements show in the 'Messages' pane.

3. Yes, cursors still function the same.







Re: How to debug database engine stored procedures on SQL Server 2005?

Jens K. Suessmeyer

Hi,

1) You will need Visual Studio for this.
2) it will be printed out in the messages tab (if you used the Table mode) or in the Results Tab for text mode

3) Yes, this still works although you should always try to use a setbased approach where possible.

Jens K. Suessmeyer.

---
http://www.sqlserver2005.de
---