Code Bye

问一下mysql 是不是不支持 oracle 这种执行方式呢?

select “drop table “||table_name||”;” from information_schema.tables where table_name like “ecs%” ;
还是本人的语句 有些问题?
求指导
解决方案

20

改成这样:
select concat(“drop table “,table_name,”;”) from information_schema.tables where table_name like “ecs%” ;

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明问一下mysql 是不是不支持 oracle 这种执行方式呢?