Mysql Create table using Trigger

心已入冬 提交于 2020-01-11 09:15:31

问题


I have tried to create table inside the Mysql Trigger but not get created. How to create a table using trigger,here Name of the table being passed Dynamic?


回答1:


As far as I am aware, creating a table inside a trigger is not possible. See here:

http://forums.mysql.com/read.php?99,121849,122609#msg-122609

Also have a look at the Restrictions for Stored Functions section on the Restrictions on Stored Routines, Triggers, and Events page.



来源:https://stackoverflow.com/questions/3184059/mysql-create-table-using-trigger

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!