求sql语句:批量删除具有相同前缀的表 通配符可以用吗?不如你用脚本,php或者perl什么的,show tables,跟着匹配表名再for 一下 query drop tables 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以用脚本实现.在mysql> select concat('drop table ', table_name, ';') into outfile 'c:/droptab.sql' from information_schema.tables;然后:执行命令 mysql -u root -pxxx <c:\droptab.sql 在mysql> select concat('drop table ', table_name, ';') into outfile 'c:/droptab.sql' from information_schema.tables; where table_name like 'cdb_%' id parentId 查询 求帮忙 mysql 存储过程 传递表字段 关于mysql按时间查询好友状态日志动态 寻求 一条 SQL 语句 mysql函数问题,谢谢 怎样修复mysql表---Incorrect information in file: '.\test\stuff.frm' mysql字符集的更改问题 求救。linux10下,安装mysql5.0的问题。 求可以执行子查询并可创建view的"免费"数据库...(急用)因为MySql好像不行???!!!! 求教MYSQL数据库SQL语句查询问题 在linux下使用psql的一些问题 在使用mysqlcc中遇到的语法问题.
select concat('drop table ', table_name, ';')
into outfile 'c:/droptab.sql'
from information_schema.tables;然后:
执行命令 mysql -u root -pxxx <c:\droptab.sql
select concat('drop table ', table_name, ';')
into outfile 'c:/droptab.sql'
from information_schema.tables;
where table_name like 'cdb_%'