sql-server-data-project

How do you reference defined variables in a SQL Server Database Project?

一世执手 提交于 2019-12-13 03:46:47
问题 I've read many questions on this such as: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/da4bdb11-fe42-49db-bb8d-288dd1bb72a2/sqlcmd-vars-in-create-table-script?forum=ssdt and How to run different pre and post SSDT pubish scripts depending on the deploy profile What I'm trying to achieve is a way of defining a set of scripts based on the environment being deployed to. The idea is that the environment is passed in as a SQLCMD variable as part of the azure-devops pipeline into a