Executing the Current Statement

From DBArtisan
Jump to: navigation, search

Go Up to Execution and Execution-related SQL Editor options

The Execute Statement command lets you execute an individual statement where statements in the script are terminated with a valid delimiter (; or /).

Note: The Execute Statement command is only available if the Scan entire file for context option in the Options Editor is selected. For details, see ISQL Options - Code Assist - Advanced Tab.

To execute a delimiter-terminated statement

  1. Place the cursor anywhere within the statement.
  2. From the Query menu, select Execute Statement.

The statement is executed and if results are returned, the Results Editor opens. For details, see Using the Results Editor.

As a visual aid, the executed statement is highlighted.