is the rollback of the transaction a failure of sql execution or a success of sql execution, but will be rolled back if the number of rows affected by additions, deletions and changes is 0?
is the rollback of the transaction a failure of sql execution or a success of sql execution, but will be rolled back if the number of rows affected by additions, deletions and changes is 0?
rollback
including a series of abnormal execution end scenarios such as broken connection or killed due to deadlock
transaction is a set of sql statements that are either successful or unsuccessful.
transaction rollback occurs when one of the set of sql statements fails to execute successfully.