Shortcut to reference examples, syntax, and definitions straight from SSMS

less than 1 minute read

I’ve never really used the F1 key for help files with most applications. I was surprised at the usefulness in SSMS I discovered today that uses scripting to actually get you MSDN articles relevant to your current selection in the query editor.

If you have a keyword selected and want to view details, definition, and examples on it, you can highlight the phrase or select the word, press F1, and SSMS will pull up the appropriate MSDN article. The only issue I ran into was that it pulls up the most recent article, so if you aren’t running SQL Server 2012, make sure you select the < 2012 documentation to be sure it is accurate.

f1_shortcut_query

f1_shortcut_results

Leave a Comment