SQL Document Shortcut Keys

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

Shortcut Keys Actions Where is used
F5 Execute a query associated with the current document. SQL Editor
F8 Execute the current statement. SQL Editor
Ctrl+Shift+Up Arrow Previous SQL statement from the history. SQL Editor
Ctrl+Shift+Down Arrow Next SQL statement from the history. SQL Editor
Ctrl+Alt+H Open SQL history dialog. SQL Editor
Ctrl+Shift+P Edit parameters. SQL Editor
Ctrl+K, C Comment selection. SQL Editor
Ctrl+K, U Uncomment selection. SQL Editor
Ctrl+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.