Is there a way to execute code dynamically in MySQL, similar to “execute immediate” in Oracle?

后端 未结 2 995
失恋的感觉
失恋的感觉 2021-01-15 21:08

Like EXECUTE IMMEDIATE in Oracle, is there any way to execute code dynamically in a MySQL stored procedure?

I really want to use a prepared statement wi

2条回答
  •  情书的邮戳
    2021-01-15 21:45

    MariaDB is supporting EXECUTE IMMEDIATE ince 10.2 KB doc is : https://mariadb.com/kb/en/execute-immediate/

提交回复
热议问题