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
This will require a stored procedure or script that loops through each table and does:
truncate table
To get the list of tables to truncate you can do something like:
SELECT table_name FROM INFORMATION_SCHEMA.tables WHERE table_schema = 'db_name'