Autocommit in truncate table
I gave the following statements in the sql prompt
SQL > update tableA set columnA=’XXXXX’ ;
SQL > truncate table tableB;
SQL > rollback;
I know that, tableB cannot be rollbacked. But I want to rollback the update statement given in the tableA. Due to the auto commit in the truncate statement, the first update statement also committed automatically.
Can any one explain, why I am not able to rollback the first update statement? Is there is any oracle document saying that, all the transaction before the truncate statement are automatically committed?
Click Here to Expand Forum to Full Width