【发布时间】:2016-04-13 12:22:31
【问题描述】:
我正在学习 PL/SQL 的在线课程,我正在使用学生版的 Application Express (https://iacademy.oracle.com/ords/f?p=4550:1:0:::::)。我得到的一些任务要求我在尝试之前禁用自动提交。暗示有一个复选框可以执行此操作,但我找不到:
有没有办法在 APEX 中禁用自动提交?任何帮助表示赞赏。
【问题讨论】:
标签: oracle oracle-apex
我正在学习 PL/SQL 的在线课程,我正在使用学生版的 Application Express (https://iacademy.oracle.com/ords/f?p=4550:1:0:::::)。我得到的一些任务要求我在尝试之前禁用自动提交。暗示有一个复选框可以执行此操作,但我找不到:
有没有办法在 APEX 中禁用自动提交?任何帮助表示赞赏。
【问题讨论】:
标签: oracle oracle-apex
更改数据库类型的自动提交
Open Tools->Tool Properties,
Select the Database tab,
Expand the node for the database type, e.g. Oracle,
Select the Transaction category,
Uncheck the Auto Commit checkbox.
更改连接的自动提交
Double-click the connection node in the Databases tab tree to open an Object View tab,
Select the Properties tab,
Select the Transaction category under the node for the database type, e.g. Oracle,
Uncheck the Auto Commit checkbox.
更改 SQL Commander 选项卡的自动提交
Use the SQL Commander->Turn On/Off Auto Commit toggle item, or,
Use the corresponding toggle button to the right in the SQL Commander toolbar.
更改语句块的自动提交
您可以在脚本中使用@set autocommit 命令来启用或禁用不同块的自动提交:
【讨论】: