0 - 3 of 3 tags for commit

Hi,
I am converting and Oracle PL/SQL Code that supports COMMIT and ROLLBACK. I know we can use BT, ET statements to enclose the transactions. But what about if I want to do conditional Commit and rollback. Like COMMIT if A=B and RollBack if A<>B.
Example of Oracle PLSQL Code to be converted is as follows:
DECLARE

Hi all,

I've a requirement where I'm using BTEQ to move a copy of data from Table A to Table B.  I'm using a simple

INSERT INTO Table B SELECT * FROM Table A;

Note: Table A and Table B are with same structure. 

Hi Fellow Teradata Developer,

I have a question on how to set Ansi mode on Teradata SQL assistant, I hope you can Shed some light on this.
When I'm working on BTEQ, on the same Database, I run the command .SET TRANSACTION MODE ANSI, and everything seems to work properly. So It's not an issue related with the Database.