create function test()returns int
begin
create table a(a int);
create table b(b int);
return 1;
end
uj5u.com熱心網友回復:
ERROR 1422 (HY000): Explicit or implicit commit is not allowed in stored function or trigger.不能在函式里做DDL,也就是不能建表,放棄這個想法吧
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/63890.html
標籤:MySQL
