|
<table_partitioning_clauses>::=
{<range_partitions>|<hash_partitions>|<list_partitions>}
<range_partitions>::=PARTITION BY RANGE({column_name}[,…n]) ({PARTITION [partition_name] <range_values_clause> <table_partition_description>}[,…n])
<range_values_clause>::= VALUES LESS THAN ({MAXVALUE|literal }[,…n])
<list_partitions>::= PARTITION BY LIST (column_name) ({PARTITION [partition_name] <list_values_clause> <table_partiton_description>}[,…n] )
<list_values_clause>::= VALUES ({DEFAULT|{NULL|literal}[,…n]})
<hash_partitions>::=PARTITION BY HASH({column_name}[,…n]) {<individual_hash_partitions>|<hash_partition_by_quantity>}
<individual_hash_partitions>::=
({PARTITION [partition_name] [<table_partition_description>]}[,…n])
<hash_partition_by_quantity>::=PARTITIONS hash_partition_quantity [STORE IN ({tablespacename}[,…n])]
<table_partition_description>::= [<table_storage_option>] [<lob_storage_definition>]
|
|