Delete data from all tables in MYSQL

前端 未结 16 1681
自闭症患者
自闭症患者 2020-12-13 09:17

I have 100 tables, 40,000 rows in each table. I want to go into MySQL and delete all rows from all tables.

...in 1 statement, if p

16条回答
  •  囚心锁ツ
    2020-12-13 10:04

    Why couldnt you just export the structure of the database, delete the database, then recreate it and import the structure?

提交回复
热议问题