SYSK 80: Keyboard Shortcuts to Comment/Uncomment Code in SQL Server Management Studio and in Visual Studio 2005

If you’re a keyboard person, try this combination to comment out selected lines (works in both, SQL and Visual Studio) – press Ctrl-K, keep pressing Ctrl key and hit key C (Ctrl-K Ctrl-C).  To uncomment selection, use Ctrl-K Ctrl-U.

Comments (0)