DBZ-7360 Resolve DDL Parser in Oracle Alter Table
DBZ-7360 Resolve DDL Parser in Oracle Alter Table DBZ-7420 Modify alterSpecification Clause DBZ-7420 Modify alterSpecification Clause
This commit is contained in:
parent
bd0d858fc5
commit
4f05dfff50
@ -724,7 +724,7 @@ alterSpecification
|
||||
| SET (VISIBLE | INVISIBLE)
|
||||
| DROP DEFAULT) #alterByAlterColumnDefault
|
||||
| ALTER INDEX uid (VISIBLE | INVISIBLE) #alterByAlterIndexVisibility
|
||||
| DROP FOREIGN KEY ifExists? uid #alterByDropForeignKey // here ifExists is MariaDB-specific only
|
||||
| DROP FOREIGN KEY ifExists? uid dottedId? #alterByDropForeignKey // here ifExists and dottedId is MariaDB-specific only
|
||||
| DISABLE KEYS #alterByDisableKeys
|
||||
| ENABLE KEYS #alterByEnableKeys
|
||||
| RENAME renameFormat=(TO | AS)? (uid | fullId) #alterByRename
|
||||
|
@ -151,3 +151,4 @@ ALTER TABLE t1 ADD PARTITION IF NOT EXISTS (PARTITION p3 VALUES LESS THAN (2002)
|
||||
-- Alter sequence
|
||||
ALTER SEQUENCE IF EXISTS s2 start=100;
|
||||
ALTER SEQUENCE s1 CACHE=1000 NOCYCLE RESTART WITH 1;
|
||||
ALTER TABLE `TABLE_NAME` DROP FOREIGN KEY `TABLE_NAME`.`FK_COLUMN`;
|
||||
|
Loading…
Reference in New Issue
Block a user