提交的问题!
tjm1 2002-08-07 09:01:11 为什么这样就可以提交:
if update(dw_1) then
if update(dw_2) then
commit;
else
rollback;
end if
commit;
else
rollback;
end if
而这样就不可以提交!!!
if dw_1.update() <> 1 then
rollback ;
end if
if dw_2.update() <> 1 then
rollback;
end if
commit;