以下罗列与Index有关操作的SQL, 如: List/CREATE/DROP 等操作.
SELECT * FROM SYSIBM.SYSINDEXES WHERE CREATOR NOT LIKE ‘SYS%’ AND TBNAME=’tablename‘;
CREATE INDEX EMPLOYEE_EMPLOYEE_ID_IDX ON EMPLOYEE(EMPLOYEE_ID);
CREATE UNIQUE INDEX EMPLOYEE_NAME_IDX ON EMPLOYEE(NAME);
DROP INDEX EMPLOYEE_ORGNO_IDX;
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.