Listing 9.2 Sample code using savepoints in stored procedures.
清单9.2在存储过程中使用保存点的样例代码。
Listing 9.3. Sample code using savepoints in stored procedures.
清单9.3在存储过程中使用保存点的样例代码。
Listing 9.1. Sample code using savepoints in stored procedures.
清单9.1在存储过程中使用保存点的样例代码。
Listing 8.1. Sample code using savepoints in stored procedures.
清单8.1在存储过程中使用保存点的样例代码。
Listing 8.2. Sample code using savepoints in stored procedures.
清单8.2在存储过程中使用保存点的样例代码。
The IDS implementation of savepoints follows the SQL-99 standard.
IDS的保存点实现遵循SQL- 99标准。
This lets you set, rollback, and release savepoints in a transaction.
它允许您在事务中设置、回滚和释放保存点。
The next example also illustrates the use of savepoints with stored procedures.
下一个示例继续解释保存点在存储过程中的使用。
You can use savepoints in applications written with any IDS client API or language.
您可以在由IDS客户机API或任何语言编写的应用程序中使用保存点。
The next section of this article describes the usage of savepoints in the context of stored procedures.
本文的下一小节将描述在存储过程上下文中使用保存点。
The scope of savepoints set inside a stored procedure is restricted to the individual execution of the stored procedure.
存储过程内部设置的保存点的范围被限制为存储过程的单次执行。
The example in Listing 11 connects to a local database named ldb, sets savepoints, performs operations on remote databases, and rolls back to a savepoint.
清单11中的示例连接到一个名为ldb 的本地数据库,设置保存点并在远程数据库上执行操作,然后回滚到保存点。
Savepoints in distributed transactions.
分布式事务中的保存点。
Savepoints are named markers within a database transaction.
保存点指的是数据库事务中指定的标记。
Savepoints are the perfect mechanism to achieve finer granularity of atomicity within a transaction.
保存点是在事务中实现更细粒度的原子性的最佳方法。
Savepoints are the perfect mechanism to achieve finer granularity of atomicity within a transaction.
保存点是在事务中实现更细粒度的原子性的最佳方法。
应用推荐