Clearing Partitions from a Level-2 Partitioned Table
You can run ALTER TABLE TRUNCATE PARTITION to clear a partition in a level-2 partitioned table. The database clears all level-2 partitions under the partition.
ALTER TABLE range_list_sales TRUNCATE PARTITION date_202005 UPDATE GLOBAL INDEX;
ALTER TABLE range_list_sales TRUNCATE PARTITION FOR ('2020-05-08');
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.