oracle分区
增加分区:
ALTER TABLE MY_TABLE ADD PARTITION MY_TABLE_PART202404 VALUES LESS THAN (TO_DATE(' 2024-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) TABLESPACE MY_DATA
删除分区:
ALTER TABLE MY_TABLE DROP PARTITION MY_TABLE_PART202404;