SQL Document Shortcut Keys

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

Icon Command Name Shortcut Keys Action Where is used
Execute F5 Execute a query associated with the current document. SQL Editor, Query Builder
Execute Current Statement F8 Execute the current statement. SQL Editor
SQL Query History Ctrl+Alt+H Open the Query History dialog. SQL Editor
Edit Parameters Ctrl+Shift+P Edit parameters. SQL Editor
List Members Ctrl+J Display a list of members. SQL Editor
List Members Ctrl+K, L Display a list of members. SQL Editor
Complete Word Ctrl+Space Complete word. SQL Editor
Complete Word Ctrl+K, W Complete word. SQL Editor
Complete Word Alt+Right Arrow Complete word. SQL Editor
Parameter Info Ctrl+Shift+Space Display parameter information. SQL Editor
Parameter Info Ctrl+K, P Display parameter information SQL Editor
Insert Snippet Ctrl+K, X Insert a snippet. SQL Editor
Insert Template Ctrl+K, Ctrl+X Insert a predefined code template. SQL Editor
Quick Info Ctrl+K, I Display quick information. SQL Editor
Quick Info Ctrl+K, Ctrl+I Display quick information. SQL Editor
Comment Selection Ctrl+K, C Comment selection. SQL Editor
Uncomment Selection Ctrl+K, U Uncomment selection. SQL Editor
— Toggle Outlining Expansion Ctrl+M, M Toggle outlining expansion. SQL Editor
— Toggle All Outlining Ctrl+M, L Toggle all outlining. SQL Editor
— Stop Outlining Ctrl+M, P Stop outlining. SQL Editor
— — Ctrl+F2 Switch to the navigation bar. SQL Editor
— — Ctrl+Alt+Pg Up Switch from the current document tab to the previous tab. SQL Editor
— — Ctrl+Alt+Pg Down Switch form the current document tab to the next tab. SQL Editor
Go To Definition F12 Go to definition. SQL Editor
  Jump Between Syntax Pairs Ctrl+F12 Jump between syntax pairs. SQL Editor
— — Ctrl+R Hide/Show additional document views. SQL Editor
— — Ctrl+L Runs the Query Profiler. SQL Editor
— Move Current Line Up/Down Alt+Up/Down Arrow Move the current line up or down by one position. SQL Editor
— Move Selected Line Up/Down Alt+Up/Down Arrow Move the selected line up or down by one position. SQL Editor

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