In SQL Server Management Studio what is SQLCMD mode?

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

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

4条回答
  •  佛祖请我去吃肉
    2021-02-01 12:42

    "You use SQLCMD scripts when you have to process Windows System commands and Transact-SQL statements in the same script."

    "By default, SQLCMD mode is not enabled in the Query Editor. You can enable scripting mode by clicking the SQLCMD Mode icon in the toolbar or by selecting SQLCMD Mode from the Query menu."

    Reference: MSDN

提交回复
热议问题