删除表在使用dacpac在Azure管道中自动化时不起作用

huangapple go评论53阅读模式
英文:

Delete table is not working in SQL automate using dacpac in Azure pipeline

问题

我正在尝试使用Azure中的dacpac在生成和发布流水线中部署SQL更改。创建和更新表格在发布期间按预期运行。但是,当我尝试删除数据库时,即使发布成功,它也不起作用。

英文:

I'm trying to deploy the SQL changes using build and release pipeline in Azure using dacpac. Creating and updating the table is working as expected using the release. But when i try to delete the database, it's not working even though my release is succeeded.

删除表在使用dacpac在Azure管道中自动化时不起作用

答案1

得分: 0

It worked after adding /p:DropObjectsNotInSource=true.

英文:

> It worked after adding /p:DropObjectsNotInSource=true

huangapple
  • 本文由 发表于 2023年3月7日 19:46:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/75661588.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定