如果我连接到Oracle数据库用户smith,并发出以下3个命令:oracle - 通过dblink提交?
update smith.tablea
set col_name = 'florence' where col_id = 8;
insert into [email protected]
values ('blah',2,'uncle','new');
commit;
这是否意味着更新到本地表(smith.tablea),并插入到远程数据库表(bob.other_table)都已经提交或只是对本地表的更新已经提交?
注意:'mylink'代表到远程数据库的dblink。
你是否在另一个会话中检查了'bob.other_table @ mylink'来检查数据是否存在或是否无效? – Ben 2012-03-06 10:55:22