This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

how could i run BEGIN END command on mariadb directly

i am trying to execute the command but i am getting error can you suggest me how can i run the command or what is the error in my query?

BEGIN xyz.write_evt('12345678'); END;

it is throwing an error :

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

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.