begin begin savepoint p1; ---------============ 在这里写删改差语句(SELECT 不行)每句以分号结尾:如 delete table_name where id='XX'; ---------============ exception --捕获异常 when others then begin rollback to savepoi…
If you use a SET TRANSACTION statement, then it must be the first statement in your transaction. However, a transaction need not have a SET TRANSACTIONstatement. Syntax set_transaction::= http://docs.oracle.com/cd/B28359_01/server.111/b28286/statemen…