Oracle 在提交前更改、更新和系统崩溃
Oracle alter, update and system crash before commit
在 oracle sql 语句中,我发出了三个更新命令,然后发出了一个 ALTER 命令来添加列。在我提交查询之前系统崩溃。 update 和 alter 语句会写入数据库吗?我的假设是只会写入 alter 语句。
Oracle Database implicitly commits the current transaction before and after every DDL statement.
如果 ALTER
语句在崩溃前成功执行,那么之前未提交的 DML
将被提交。
在 oracle sql 语句中,我发出了三个更新命令,然后发出了一个 ALTER 命令来添加列。在我提交查询之前系统崩溃。 update 和 alter 语句会写入数据库吗?我的假设是只会写入 alter 语句。
Oracle Database implicitly commits the current transaction before and after every DDL statement.
如果 ALTER
语句在崩溃前成功执行,那么之前未提交的 DML
将被提交。