DBZ-5734 Modify SPLIT_TABLE_PARTITION clause
This commit is contained in:
parent
53731e5662
commit
0c897925c5
@ -1940,7 +1940,7 @@ system_partitioning
|
||||
;
|
||||
|
||||
range_partition_desc
|
||||
: PARTITION partition_name? range_values_clause table_partition_description
|
||||
: PARTITION partition_name? range_values_clause? table_partition_description?
|
||||
( ( '(' ( range_subpartition_desc (',' range_subpartition_desc)*
|
||||
| list_subpartition_desc (',' list_subpartition_desc)*
|
||||
| individual_hash_subparts (',' individual_hash_subparts)*
|
||||
@ -1952,7 +1952,7 @@ range_partition_desc
|
||||
;
|
||||
|
||||
list_partition_desc
|
||||
: PARTITION partition_name? list_values_clause table_partition_description
|
||||
: PARTITION partition_name? list_values_clause? table_partition_description?
|
||||
( ( '(' ( range_subpartition_desc (',' range_subpartition_desc)*
|
||||
| list_subpartition_desc (',' list_subpartition_desc)*
|
||||
| individual_hash_subparts (',' individual_hash_subparts)*
|
||||
@ -2920,9 +2920,10 @@ modify_table_partition
|
||||
;
|
||||
|
||||
split_table_partition
|
||||
: SPLIT PARTITION partition_name INTO '('
|
||||
(range_partition_desc (',' range_partition_desc)* |
|
||||
list_partition_desc (',' list_partition_desc)* ) ')'
|
||||
: SPLIT partition_extended_names (
|
||||
AT '(' literal (',' literal)* ')' INTO '(' range_partition_desc (',' range_partition_desc)* ')'
|
||||
| INTO '(' (range_partition_desc (',' range_partition_desc)* | list_partition_desc (',' list_partition_desc)* ) ')'
|
||||
)
|
||||
;
|
||||
|
||||
truncate_table_partition
|
||||
|
@ -45,6 +45,8 @@ ALTER TABLE TABLE_A
|
||||
ADD TABLE_B_ID NUMBER(5)
|
||||
ADD FOREIGN KEY (TABLE_B_ID) REFERENCES TABLE_B (ID);
|
||||
alter table mesg_perf_stat TRUNCATE PARTITION SYS_P1221396 DROP STORAGE CASCADE UPDATE INDEXES;
|
||||
ALTER TABLE PK_CNT_GIORNI_TIPI_INC SPLIT PARTITION PMAX AT (TO_DATE('1410202215','DDMMYYYYHH24'))
|
||||
INTO (PARTITION P2022101414, PARTITION PMAX);
|
||||
-- Virtual column support
|
||||
ALTER TABLE VIDEO ADD (sql_code_injection_check NUMBER GENERATED ALWAYS AS (sdd_avoid_sql_injection(SKRIPT)) VIRTUAL);
|
||||
-- Shrink Space
|
||||
|
Loading…
Reference in New Issue
Block a user