SQL Document Shortcut Keys

Last modified: August 16, 2022

Use the following shortcut keys when working with an SQL document or stored procedure.

Command Name Shortcut Keys Action Where is used
Execute F5 Execute a query associated with the current document. SQL Editor
Execute Current Statement F8 Execute the current statement. SQL Editor
Previous SQL Ctrl+Shift+Up Arrow Previous SQL statement from history. SQL Editor
Next SQL Ctrl+Shift+Down Arrow Next SQL statement from history. SQL Editor
SQL Query History Ctrl+Alt+H Open SQL History dialog. SQL Editor
Edit Parameters Ctrl+Shift+P Edit parameters. SQL Editor
Comment Selection Ctrl+K, C Comment selection. SQL Editor
Uncomment Selection Ctrl+K, U Uncomment selection. SQL Editor
Toggle Outline Expansion Ctrl+M, M Toggle outline expansion. SQL Editor
Toggle All Outlining Ctrl+M, L Toggle all outlining. SQL Editor
Stop Outlining Ctrl+M, P Stop outlining. SQL Editor
Start Automatic Outlining Ctrl+M, S Start automatic outlining. SQL Editor

These shortcuts are default shortcuts. All shortcuts can be customized.