Comments
3 comments
-
Hi,
You can disable the user transaction for the migration script by setting the following property at the top of the affected migration. For more details on how SQL Change Automation handles transactions see the article here.<Migration ID="(migration id)" TransactionHandling="Custom" />
Out of interest how was the migration created? The fix mentioned above sets this property automatically if importing a MoT from the development database using the import screen. If the script was created manually or edited after import the Migration header will need to be set manually.
-
Thank you David.
I will change the header, and try again.
Yes - the table was created manually rather than importing from the DB.
Will look at the help pages a little more - where can I find the full list of properties found in the migration header xml fragment? (or is that it). I haven't come across any pages where we can tune the migration and influence the interaction with the "engine" - which will probably come in very handy!
-
The only other header I'm aware of is the "InlineDependencies" option which is used as part of our CLR functionality to bring in external file contents.
Add comment
Please sign in to leave a comment.
DDL statements ALTER, DROP and CREATE inside user transactions are not supported with memory optimized tables.
This is is the DDL being run
It appears as if this was fixed https://documentation.red-gate.com/rr1/release-notes-and-other-versions/readyroll-1-14-release-notes
1.14.16 - September 27th, 2017
Fixes
Please help, is there away of manually\signalling to disable the transaction when running?