2013年5月7日 星期二

SQL2012 shortcut key

安裝SQL 2012後,以前一些常用的捷徑鍵都不work了.
其實也只有幾個常用鍵

Ctrl+R  : 將query result pane 關掉
Ctrl+Shift+C : 註解所選的sql指令碼
Ctrl+Shift+R : 反註解所選的sql指令碼

可能因為是SSMS2012改用了vs2010 shell ,所以變成有些按鍵被更改掉了.

這里可參考SQL2012的shortcut鍵

為了方便所以在SSMS 2012 中
Tool-->Customize -->Keyboard ,在Show commands containing: 輸入comment
找到了
Edit.CommentSelection  
Edit.UncommentSelection 
 接著在Use new shourtcut in : 選擇SQL Query Editor , 然後按下所要的捷徑。
Edit.CommentSelection    --> Ctrl+Shift+C
Edit.UncommentSelection --> Ctrl+Shift+R




沒有留言:

張貼留言

pdf.js 無法顯示部份字

有個檔案在pdf viewer套件中無法顯示內容,但下載檔案後使用工具又可以正常顯示。 本來以為是套件版本太舊的原因,於是去下載pdf viewer套件 https://github.com/mozilla/pdf.js 更新後還是一樣。 覺得應是字型缺漏的問題,於是用PDF-X...