I need to truncate all partitions except some partitions in a table in MYSQL. How can I do that.
I can delete all partitions using alter table table_name truncate partition ALL;
But I dont want to truncate some partitions. I have 55 partitions in my table.