In SQL Server Management Studio what is SQLCMD mode?

前端 未结 4 773
-上瘾入骨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:52

    Message Transact-SQL IntelliSense is not active for this editor because the editor is in SQLCMD mode.

    I was publishing SQL Server Project from Visual Studio to Database to synchronize changes and got an error above. Publishing was failing. I closed all open files in VS and it resolved the issue.

    I hope real life example explained why people use SQLCMD mode.

提交回复
热议问题