方法1:生成清空所有表的SQL
select CONCAT('TRUNCATE TABLE ',table_name,';') from information_schema.tables where TABLE_SCHEMA = 'db1';
方法二:用navicat,每个表 右键 清空表
方法1:生成清空所有表的SQL
select CONCAT('TRUNCATE TABLE ',table_name,';') from information_schema.tables where TABLE_SCHEMA = 'db1';
方法二:用navicat,每个表 右键 清空表
java根据表名称获取所有字段
一、清空MySQL
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M