H2 Database 简明教程
H2 Database - Commit
COMMIT 是 SQL 语法中用于提交事务的命令。我们可以提交特定的事务或提交当前执行的事务。
COMMIT is a command from the SQL grammar used to commit the transaction. We can either commit the specific transaction or we can commit the currently executed transaction.
Syntax
COMMIT 命令有两种不同的语法。
There are two different syntaxes for COMMIT command.
以下是要提交当前事务的提交命令的通用语法。
Following is the generic syntax for the commit command to commit the current transaction.
COMMIT [ WORK ]
以下是要提交特定事务的提交命令的通用语法。
Following is the generic syntax for the commit command to commit the specific transaction.
COMMIT TRANSACTION transactionName