START TRANSACTION 中文man頁面
NAME
START TRANSACTION - 開始一個事務(wù)塊
SYNOPSIS
START TRANSACTION [ ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE } ] [ READ WRITE | READ ONLY ]
DESCRIPTION 描述
這條命令開始一個新的事務(wù)。如果聲明了隔離級別或者讀寫模式, 那么新事務(wù)就使用這個特性,如同執(zhí)行了 SET TRANSACTION [set_transaction(7)] 一樣。在其它方面,這條命令的行為和 BEGIN [begin(7)] 命令一樣。
PARAMETERS 參數(shù)
參閱 SET TRANSACTION [set_transaction(7)] 獲取有關(guān)參數(shù)含義的信息。
COMPATIBILITY 兼容性
這條命令兼容 SQL 標(biāo)準(zhǔn);但是又見 SET TRANSACTION [set_transaction(7)] 的兼容性小節(jié)。
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)]