SQL Formatting
Table of contents
Formatting SQL scripts
To format SQL text:
- Select the SQL text you wish to format.
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.