alter session disable commit in procedure

[复制链接]
查看11 | 回复4 | 2008-1-2 17:35:53 | 显示全部楼层 |阅读模式
alter session disable commit in procedure
什么意思?
回复

使用道具 举报

千问 | 2008-1-2 17:35:53 | 显示全部楼层
up
回复

使用道具 举报

千问 | 2008-1-2 17:35:53 | 显示全部楼层
ENABLE | DISABLE COMMIT IN PROCEDURE
Procedures and stored functions written in PL/SQL can issue COMMIT and ROLLBACK statements. If your application would be disrupted by a COMMIT or ROLLBACK statement not issued directly by the application itself, then specify DISABLE COMMIT IN PROCEDURE clause to prevent procedures and stored functions called during your session from issuing these statements.
You can subsequently allow procedures and stored functions to issue COMMIT and ROLLBACK statements in your session by issuing the ENABLE DISABLE COMMIT IN PROCEDURE.
Some applications (such as SQL*Forms) automatically prohibit COMMIT and ROLLBACK statements in procedures and stored functions. Refer to your application documentation for more information.
回复

使用道具 举报

千问 | 2008-1-2 17:35:53 | 显示全部楼层
thanks
回复

使用道具 举报

千问 | 2008-1-2 17:35:53 | 显示全部楼层
search in google.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行