首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Oracle Application Express中禁用自动提交

在Oracle Application Express中禁用自动提交
EN

Stack Overflow用户
提问于 2016-04-13 20:22:32
回答 2查看 3.1K关注 0票数 0

我在一个学习PL/SQL的在线课堂上,我使用的是Application Express的学生版(https://iacademy.oracle.com/ords/f?p=4550:1:0:::::)。给我的一些任务要求我在尝试它们之前禁用自动提交。这暗示着有一个复选框可以这样做,但我找不到一个:

有没有办法在APEX中禁用自动提交?任何帮助都是非常感谢的。

EN

回答 2

Stack Overflow用户

发布于 2016-04-14 02:20:33

  1. 以管理员身份登录apex.
  2. 转到管理实例=>功能配置=> =>研讨会=>设置Enable Transactional Commands to Yes

  1. 注销,以标准用户

身份登录

checkbox will available.

  • You
  1. Autocommit checkbox will available.
  2. You notice:

(自动提交自动提交复选框将会出现,请注意:will

选择是可为整个Oracle Application Express实例启用事务处理SQL命令。启用此功能允许SQL命令处理器用户在同一物理数据库事务中发出多个SQL命令。

选择“是”时,“SQL命令处理器”页上将出现一个自动提交复选框。缺省情况下,此选项设置为No。

票数 3
EN

Stack Overflow用户

发布于 2016-04-13 20:26:54

更改数据库类型的自动提交

代码语言:javascript
复制
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.

更改连接的自动提交

代码语言:javascript
复制
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选项卡的自动提交

代码语言:javascript
复制
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命令来启用或禁用不同块的自动提交:

票数 -2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36598235

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档