sql - Transaction Isolation and many statement request -
if use serializable transaction isolation level , run sql query like:
create database new_db; use new_db; create table persons ( personid int, lastname varchar(255), firstname varchar(255), address varchar(255), city varchar(255) );
will use new_db
fail create database new_db
statement still not commited database?
create database
not allowed in transaction. see here.
if script wrapped in explicit transaction, throw error on create database new_db
Comments
Post a Comment