Executing SQL Statements

Last modified: June 26, 2023

How to Run Execution

Entire Script

To execute an entire script, click the Execute Large Script button on the toolbar Execute script button

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

Postgres Schema Diff - SQL menu

Selected Block of Text

To execute an arbitrary text block:

  1. Select the text block using a mouse or a keyboard.

  2. Click the Execute button on the toolbar Execute button

Current Statement

To execute a current statement, select the Execute Current Statement command from the SQL menu.

Postgres sync databases - Execute Current Statement button

How to Stop Execution

To stop SQL execution, click Stop Execution command from the SQL menu.

Representing Query Execution Results

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

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

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