Help Center/
GaussDB(DWS)/
More Documents/
Tool Guide (Paris Region)/
DSC: SQL Syntax Migration Tool/
DB2 Syntax Migration/
Index
Updated on 2022-07-29 GMT+08:00
Index
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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot