Can you modify SQL DB schema in a transaction to know if all changes were applied?
- by Chris F
As part of my (new) database version control methodology, I'm writing a "change script" and want the change script to insert a new row into the SchemaChangeLog table if the script is executed successfully, or to reverse changes if any single change in the script fails.
Is it possible to do schema changes in a transaction and only if it gets…