Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQLCMD Mode在 Sql server management studio 中,当您有一个新的查询窗口时,您可以使用查询菜单将查询窗口的模式更改为。我在 Windows 命令行中使用 sqlcmd,但不知道在 SSMS 中使用此模式有什么不同。
SQLCMD Mode
这是一种允许您创建 SQLCMD 脚本的模式。
MSDN -使用查询编辑器编辑 SQLCMD 脚本。
有关一些示例,请查看SQLCMD 工作台。