Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

TStart

トランザクションの開始を表します。

Synopsis

TStart

引数

TStart 文には引数はありません。

概要

TStart は、トランザクションの開始を表します。TStart に続いてデータベース・オペレーションのジャーナルが開始され、以降の TCommit 文や TRollback 文の実行が可能になります。

トランザクション内で発行されたロックは、解除されたとしても、そのトランザクションが終了するまでは保持されます。

以下の例は、TStart 文の使用法を示しています。

TStart
If StorePerson(personobject) Then
 TCommit
Else
 TRollback
End If

関連項目

FeedbackOpens in a new tab