forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
4.7 KiB
4.7 KiB
Index Migration (DB2)
Reverse Scans
Reverse Scans
DB2 Syntax |
Syntax After Migration |
---|---|
CREATE INDEX IDX_1 ON EMP (ID ASC) ALLOW REVERSE SCANS; CREATE INDEX IDX_1 ON EMP (ID ASC) DISALLOW REVERSE SCANS; |
CREATE INDEX IDX_1 ON EMP (ID ASC) /*ALLOW REVERSE SCANS*/; CREATE INDEX IDX_1 ON EMP (ID ASC) /*DISALLOW REVERSE SCANS*/; |
Schema
index's schema is different from its table's schema.
DB2 Syntax |
Syntax After Migration |
---|---|
CREATE INDEX IDXSC.IDX_1 ON EMP (ID ASC); |
CREATE INDEX IDX_1 ON EMP (ID ASC); |
Parent topic: DB2 Syntax Migration