If RANGE_N appears in a PARTITION BY phrase, it:
- Can specify a maximum of 65,533 ranges (unless it is part of a larger partitioning expression)
- Must not contain the system-derived columns PARTITION or PARTITION#L1 through PARTITION#L15
- Must not use Period data types, but can use the BEGIN or END bound functions on a Period data type column when they result in a DATE data type.
If RANGE_N is used in a partitioning expression for a multilevel PPI, it must define at least two partitions.
If RANGE_N specifies CURRENT_DATE or CURRENT_TIMESTAMP in a partitioning expression, you cannot use ALTER TABLE to add or drop ranges for the table. You must use the ALTER TABLE TO CURRENT statement to achieve this function.