Posted on 2010-05-11 23:28
Prayer 阅读(141)
评论(0) 编辑 收藏 引用 所属分类:
DB2
A transaction begins implicitly with the first executable SQL statement and ends
with either a COMMIT or a ROLLBACK statement or when the program ends. In some
DB2 programming interfaces, you do not issue the COMMIT or ROLLBACK SQL statements
explicitly, but instead employ APIs or object methods to end transactions
that result in a commit or a rollback. A commit makes the changes performed during
the current transaction permanent, and a rollback restores the data to the state it
was in prior to beginning the transaction.