Can I change table structure in a transaction and then roll it back if there is an error?
-
30-10-2019 - |
Question
I have some ALTER TABLE
statements that I am running. Not all of them work (they are the result of running SQL Data Compare) and I want to group them in some transactions and roll back the statements if something goes wrong.
Is this possible, or is it only data that can be rolled back?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange