Debugging Transact-SQL Database Objects
This topic applies to:
Visual Studio Ultimate | Visual Studio Premium | Visual Studio Professional | Visual Studio Express |
|---|---|---|---|
![]() | ![]() | ![]() | ![]() |
Debugging Transact-SQL code can be done several ways:
Existing database objects can be debugged using Visual Studio outside of any project. Using Server Explorer, you can step into a database object. For more information, see How to: Step into an Object Using Server Explorer.
New Transact-SQL scripts or existing database objects can be debugged using the Visual Studio SQL Server Database project or SQL Server Server project type. For more information, see How to: Debug with a SQL Server Database Project or Server Project.
Existing database objects that are called by application code in C++, Visual Basic, or C# projects can be debugging using the Server Explorer data connection. For more information, see Debugging Multi-tier Database Applications.

