删除以某某开头的表

Select CONCAT( 'drop table ', table_name, ';' ) 
FROM information_schema.tables 
Where table_name LIKE 'dede_%'; 

猜你喜欢

转载自1306577707.iteye.com/blog/2413032
今日推荐