由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Is there table level commit?
相关主题
大家对 Transaction 是怎么看的?Where to find log files in SQL server?
Uncommited transaction 能写到 log嘛? sql server请教teradata问题
求救,这个更新如何写?question about MS SQL mirroring...
mysql challengeSQL Servedr complete recovery question
急问:如何恢复被删除的数据?各位各位,江湖救急 -- 数据被删
A SQL update question.Need help on a strange SQL server problem
请教PL/SQL 语法Help! Diff between Teradata SQL and Oracle SQL.
MS Sql 2012: cannot detach databaseOpening: SQL Server ELT Developer @Maryland (转载)
相关话题的讨论汇总
话题: table话题: log话题: pl话题: opr话题: sql
进入Database版参与讨论
1 (共1页)
r*****l
发帖数: 2859
1
I am new to PL/SQL so if this question is stupid, don't blame me.
I am writing a PL/SQL procedure to operation on a table, say T_OPR.
I want to write the log information to another table, say T_LOG.
The operations on T_OPR should be rollback-ed if there is a single error.
When this happened, I still want to info in T_LOG to be committed.
If there any way to do it? Thanks a lot.
n********a
发帖数: 68
2
Use autonomous transaction.
" target="_blank" class="a2">http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#27440

【在 r*****l 的大作中提到】
: I am new to PL/SQL so if this question is stupid, don't blame me.
: I am writing a PL/SQL procedure to operation on a table, say T_OPR.
: I want to write the log information to another table, say T_LOG.
: The operations on T_OPR should be rollback-ed if there is a single error.
: When this happened, I still want to info in T_LOG to be committed.
: If there any way to do it? Thanks a lot.

r*****l
发帖数: 2859
3
Thanks a million!
This is the right kind fo information that I need.

【在 n********a 的大作中提到】
: Use autonomous transaction.
: " target="_blank" class="a2">http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#27440

1 (共1页)
进入Database版参与讨论
相关主题
Opening: SQL Server ELT Developer @Maryland (转载)急问:如何恢复被删除的数据?
how to create user in Oracle?A SQL update question.
oracle求助请教PL/SQL 语法
Set autocommit offMS Sql 2012: cannot detach database
大家对 Transaction 是怎么看的?Where to find log files in SQL server?
Uncommited transaction 能写到 log嘛? sql server请教teradata问题
求救,这个更新如何写?question about MS SQL mirroring...
mysql challengeSQL Servedr complete recovery question
相关话题的讨论汇总
话题: table话题: log话题: pl话题: opr话题: sql