views:

32

answers:

2

Hi guys,

How can I debug TSQL on SQL Server 2005 instance?

Thanks.

+1  A: 

4 Guys From Rolla has a really good tutorial on using Visual Studio to debug SQL Server 2k5 Stored Procedures:

4GuysFromRolla.com: Debugging SQL Server 2005 Stored Procedures in Visual Studio

Unfortunately, as far as I know, Visual Studio is a requirement.

Justin Niessner
A: 

Use print statements or log status updates in a table.

Beth