SQL Azure Data Tier Project Deployment - Pre-deployment and Post-Deployment Utilizes a Master Database

I use the data-level DB project to deploy to Azure, everything is going well, the database and schema are well created, except that during the pre-deployment and post-deployment, it always tries to use the main database instead of the one I specified in the Deploy - instance name of the data-level application in the properties. I tried using the USE MyDB statement, but it is not supported.

Of course, I would like the pre-deployment and post-deployment scripts to be executed in the current database that I am creating. Any idea?

thanks a lot

Sincerely.

+4
source share
1 answer

It seems impossible to use PostDeployment script functionality with SQL Azure.

http://social.msdn.microsoft.com/Forums/br/windowsazuredata/thread/07f36eb1-5ae7-4c5c-aa1d-ecab903cc6a7

0
source

Source: https://habr.com/ru/post/1336685/


All Articles