Executing SQL Statements

Last modified: October 8, 2020

How to Run Execution

Entire Script

To execute the entire script, click Execute on the SQL toolbar.

Alternatively, on the SQL menu, select Execute or press F5.

Selected Block of Text

To execute an arbitrary text block:

  1. Select the text block using the mouse or keyboard.
  2. on the SQL menu, select Execute or click Execute Selection on the shortcut menu of SQL Editor, or press Ctrl+F8.

Current Statement

To execute the current statement, on the SQL toolbar, click Execute Current Statement or press F8.

Alternatively, right-click a required statement and click Execute Current Statement on the shortcut menu.

Execute to Cursor

To execute script to the current position of the cursor:

  1. Move the cursor to the required position.
  2. On the shortcut menu, click Execute to Cursor or press Ctrl+Shift+F10.

How to Stop Execution

To stop SQL execution, on the SQL toolbar, click Stop Execution.

Representing Query Execution Results

The query execution results can be represented in two formats: in text and in grid.

To represent results as text, on the SQL toolbar, click Results as Text before query execution.

To represent results as grid, on the SQL toolbar, click Results as Grid before query execution.