Comments - how could i run BEGIN END command on mariadb directly

10 months, 3 weeks ago Kristian Nielsen

- 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;

 
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.