Reputation: 3
The pseudocode would be something like the following:
ALTER TABLE sql_store.sale_mast13 DROP PARTITION FIRS_VALUE(PARTITIONS)
Upvotes: 0
Views: 36
Reputation: 142518
No. But you can get the name from information_schema.PARTITIONS
. See GatherPartitionInfo()
in http://mysql.rjweb.org/demo_part_maint.pl.txt . For more on partitioning, see the parent page: http://mysql.rjweb.org/doc.php/partitionmaint
Upvotes: 1