DBZ-4746 Support CHECK
shrink-clause option
This commit is contained in:
parent
6cf95b7597
commit
f69b1811b4
@ -2225,7 +2225,9 @@ deallocate_unused_clause
|
||||
;
|
||||
|
||||
shrink_clause
|
||||
: SHRINK SPACE_KEYWORD COMPACT? CASCADE?
|
||||
// CHECK is an internal Oracle option
|
||||
// It is used to check for proper segment type and segment attributes to allow shrink
|
||||
: SHRINK SPACE_KEYWORD (COMPACT|CASCADE|CHECK)?
|
||||
;
|
||||
|
||||
records_per_block_clause
|
||||
|
@ -39,3 +39,5 @@ ALTER TABLE TABLE_DATA_CHANGE_LOG MODIFY PARTITION PART_LOAN_CARDS_DEMAND_DEPOSI
|
||||
ALTER TABLE B.EXCHANGE_LOG DROP PARTITION FOR (TIMESTAMP '2022-01-28 00:00:00') UPDATE GLOBAL INDEXES ;
|
||||
-- Virtual column support
|
||||
ALTER TABLE VIDEO ADD (sql_code_injection_check NUMBER GENERATED ALWAYS AS (sdd_avoid_sql_injection(SKRIPT)) VIRTUAL);
|
||||
-- Shrink Space
|
||||
ALTER TABLE "ODS_XMES_QY"."ORDER_ITEM" shrink space CHECK;
|
Loading…
Reference in New Issue
Block a user