In SQL Server Management Studio what is SQLCMD mode?

前端 未结 4 779
-上瘾入骨i
-上瘾入骨i 2021-02-01 12:33

In SQL Server Management Studio I would like to know what is SQLCMD mode?

4条回答
  •  萌比男神i
    2021-02-01 12:47

    Exactly what it sounds like.

    It is a mode that lets you author SQLCMD scripts.

    From MSDN - Editing SQLCMD Scripts with Query Editor:

    To use the Database Engine Query Editor to write or edit SQLCMD scripts, you must enable the SQLCMD scripting mode.

    In SQL Server Management Studio, set this via the Query menu (Query -> SQLCMD Mode).

提交回复
热议问题