Option to open new queries in SQLCMD mode by default in SSMS

If you want to set SQLCMD mode to be turned on by default for new query editor windows in SQL Server Management Studio (SSMS):
Click Tools -> Options

tools_menu_options_ssms

Expand: Query Execution -> SQL Server -> General
Check the 'By default, open new queries in SQLCMD mode' box:

open_new_queries_in_SQLCMD_mode_ssms

If the post helped you, please share it:
Pin It

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">