I am defining a transaction by saying;
DO TRANSACTION:
code...
if I get an error, then I want to do a rollback.
END.
What I want to do is that within this transaction, I check some files. If the file has a certain value, I want to rollback. How do I rollback out of the transaction?
DO TRANSACTION:
code...
if I get an error, then I want to do a rollback.
END.
What I want to do is that within this transaction, I check some files. If the file has a certain value, I want to rollback. How do I rollback out of the transaction?