select CONCAT("truncate ", table_name, ";") from INFORMATION_SCHEMA.TABLES
where TABLE_SCHEMA='clouddrive_00'
来自:http://www.dewen.org/q/3945/mysql%E6%89%B9%E9%87%8Ftruncate+%E8%A1%A8%E7%9A%84%E6%96%B9%E6%B3%95%EF%BC%9F
where TABLE_SCHEMA='clouddrive_00'
来自:http://www.dewen.org/q/3945/mysql%E6%89%B9%E9%87%8Ftruncate+%E8%A1%A8%E7%9A%84%E6%96%B9%E6%B3%95%EF%BC%9F