Red-gate SQL Prompt Keyboard Shortcut

最近到了一個Red-Gate的活動…
活動入介紹了一些有關SQLBest Practice
令到我對SQL 又在產生更多的興趣了

不知道大家有沒有用一些 SQL 提示的工具呢?
今天想和大家分享Red Gate SQL Prompt Keyboard shortcut
希望可以令到大家使用SQL Prompt 時更加方便

Snippets
SELECT * FROM ssf
INNER JOIN ij
INSERT INTO ii
ALTER PROCEDURE ap
ORDER BY ob
LEFT OUTER JOIN loj
BEGIN/END be
SELECT TOP 100 * FROM st100
CREATE PROCEDURE cp
DELETE FROM df
GROUP BY gb
CREATE TABLE Ct

 

Formatting Shortcuts
Format SQL Ctrl + K , Ctrl Y
Uppercase Keywords Ctrl + B, Ctrl + U

 

Refactoring
Expand Wildcards Ctrl + B , Ctrl + W
Qualify Object Names Ctrl + B , Ctrl + Q
Encapsulate As New Stored Procedure Ctrl + B , Ctrl + E

 

Navigation Shortcuts
Script Object As ALTER F12
Summarize Script Ctrl + B , Ctrl + S
Find Unused Variables and Parameters Ctrl + B , Ctrl + F

 

Code-completion Shortcuts
Show Suggestions Ctrl + Space
Refresh Suggestions Ctrl + Shift + D
Switch to/from Column Picker Ctrl + Left / Ctrl + Right
Disable Code Suggestions Ctrl + Shift + P
Move up/down Suggestions Box Filters Ctrl + Up

Hope you find it useful

Leave a Reply