Hello.

I have the following queries:
"INSERT INTO tblA (Field1, Field2) values ('a', 'b');

"INSERT INTO tblB (Field1, Field2) values ('a', 'b');

"INSERT INTO tblC (Field1, Field2) values ('a', 'b');

I want to use Mysql Transactions to be sure that all queries have been executed o abort them all if one ended with error.

Thank you.

    You might want to state which database extension you are using, along with the version of MySQL and storage engine for the tables.

      Mysql version: 5.1.30
      ENGINE=InnoDB

      Thanks.

        Ok, i'll give it a try.

        Thank you.

          Write a Reply...