Share via


Stepping Over or Out of SQL Source

Feature Only in Enterprise Edition   This feature is supported only in Visual C++ Enterprise Edition. For more information, see .

You can step through your SQL source code one statement at a time by using the Step Over command. You can also exit from SQL code immediately and return to the client application by using the Step Out command.

To run the next statement in the SQL source

  1. Open an SQL source code file, and set a breakpoint.

  2. From the Debug menu, click Go.

    When the SQL code comes to the breakpoint, the debugger pauses.

  3. From the Debug menu, click Step Over.

    The debugger executes the next statement.

  4. Repeat step 3 to continue executing the program, one statement at a time.

To exit from SQL source code

  1. Set a breakpoint at the end of the SQL source code.

  2. From the Debug menu, click Go.

    The debugger executes to the end of the SQL code.