I want to add a record to tblA and insert the identity field generated into tblB. If there are 2 successful INSERTs then I'd like a true/false boolean returned. How do I do this in mysql with a stored procedure, in/out parameters and transactions?
tblA
A int auto_increment primary key NOT NULL
tblB
B int
tblA
A int auto_increment primary key NOT NULL
tblB
B int