SELECT CONCAT('TRUNCATE TABLE ', '', TABLE_SCHEMA, '.', TABLE_NAME, ';') as '삭제 테이블' FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'DB명';
', TABLE_SCHEMA, '
', TABLE_NAME, '
출처 - https://iamyourfavorite.tistory.com/136