Comments - how could i run BEGIN END command on mariadb directly
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
- You use BEGIN; ... COMMIT; to run a transaction - semicolon between statements - use CALL to call a procedure (assuming xyz.write_evt is a procedure).
So like this:
BEGIN; CALL xyz.write_evt('12345678'); COMMIT;