NAME
START TRANSACTION - 开始一个事务块
SYNOPSIS
START TRANSACTION [ ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE } ] [ READ WRITE | READ ONLY ]
DESCRIPTION 描述
这条命令开始一个新的事务。如果声明了隔离级别或者读写模式, 那么新事务就使用这个特性,如同执行了 SET TRANSACTION [set_transaction(7)] 一样。在其它方面,这条命令的行为和 BEGIN [begin(7)] 命令一样。
PARAMETERS 参数
参阅 SET TRANSACTION [set_transaction(7)] 获取有关参数含义的信息。
COMPATIBILITY 兼容性
这条命令兼容 SQL 标准;但是又见 SET TRANSACTION [set_transaction(7)] 的兼容性小节。
SEE ALSO 参见
BEGIN [begin(7)], COMMIT [commit(l)], ROLLBACK [rollback(l)], SET TRANSACTION [set_transaction(l)]
#p#
NAME
START TRANSACTION - start a transaction block
SYNOPSIS
START TRANSACTION [ ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE } ] [ READ WRITE | READ ONLY ]
DESCRIPTION
This command begins a new transaction. If the isolation level or read/write mode is specified, the new transaction has those characteristics, as if SET TRANSACTION [set_transaction(7)] was executed. In all other respects, the behavior of this command is identical to the BEGIN [begin(7)] command.
PARAMETERS
See under SET TRANSACTION [set_transaction(7)] about the meaning of the parameters.
COMPATIBILITY
This command conforms to the SQL standard; but see also the compatibility section of SET TRANSACTION [set_transaction(7)].
SEE ALSO
BEGIN [begin(7)], COMMIT [commit(l)], ROLLBACK [rollback(l)], SET TRANSACTION [set_transaction(l)]