0

I need to create a fulltext index for a database deployment and the deployment process involves a versioning software (flyway, for those interested) which runs everything in a transaction. T-SQL does not allow this in a transaction.

The "proper" solution here is to get flyway to run my updates outside of a transaction. It might have that capability, but there is no documentation nor examples. You can see the relevant GitHub issue here

I want to try to bypass this issue altogether and just hack my SQL updates into the current process, which lead my to this post, the answer to which explains that a loopback linked server can execute a remote procedure call from within a transaction but not carry the transaction scope to that execution.

Sounds like exactly what I want but now I am confronted by no support for sp_addlinkedserver in SQL Azure.

Does anyone know a way to run an autonomous transaction in sql azure?

Mr. Em
  • 78
  • 5

0 Answers0