SQL Document Shortcut Keys

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

Shortcut Keys Action Where is used
F5 Execute query associated with current document. SQL Editor
F8 Execute current statement. SQL Editor
CTRL+SHIFT+Up Arrow Previous SQL statement from history. SQL Editor
CTRL+SHIFT+Down Arrow Next SQL statement from history. SQL Editor
CTRL+ALT+H Open SQL History dialog. SQL Editor
CTRL+SHIFT+P Edit parameters. SQL Editor
Ctrl+Shift+A Select the current SQL statement or code block at the cursor position. SQL Editor
CTRL+E, C Comment selection. SQL Editor
CTRL+E, U Uncomment selection. SQL Editor
CTRL+M, M Toggle outlining expansion. SQL Editor
CTRL+M, L Toggle all outlining. SQL Editor
CTRL+M, P Stop outlining. SQL Editor

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