MySQL快速清空某个库中的表数据

select CONCAT(‘TRUNCATE TABLE ‘,table_name,’;’) from information_schema.tables where TABLE_SCHEMA = ‘ohp_master’;

扫码领红包

微信赞赏支付宝扫码领红包

发表回复

后才能评论