Skip to content

SQL Formatting

Formatting SQL scripts

To format SQL text:

  1. Select the SQL text you wish to format.
  2. Press Ctrl+Shift+F or click on the Format SQL Script button located on the left toolbar.

Commenting SQL lines

To manage comments in SQL scripts:

  • To comment out an SQL line:
  • Place your cursor on the line you want to comment.
  • Press Ctrl+/ or CMD+/ for macOS.

  • To uncomment a commented line:

  • Place your cursor on the commented line.
  • Press Ctrl+/ (CMD+/ for macOS) again to remove the commenting syntax.