select on indexes
Posted: Thu 02 Oct 2008 13:58
Hello,
we are using TUniQuery and TClientDataset-TDatasetProvider-TUniQuery.
Is it possible (or add this feature) to disable internal queries on indexes to speedup application. For examaple:
SELECT '' TABLE_CATALOG, IC.TABLE_OWNER TABLE_SCHEMA, IC.TABLE_NAME, '' INDEX_CATALOG, IC.INDEX_OWNER INDEX_SCHEMA, IC.INDEX_NAME, IC.COLUMN_NAME, IC.COLUMN_POSITION, DECODE(IC.DESCEND, 'ASC', 0, 1) DESCENDING
FROM SYS.ALL_IND_COLUMNS IC, SYS.ALL_INDEXES I
WHERE IC.TABLE_OWNER = 'SEIWIN5' AND IC.TABLE_NAME = 'HSFT_TAB158' AND I.UNIQUENESS = 'UNIQUE' AND I.OWNER = IC.INDEX_OWNER AND I.INDEX_NAME = IC.INDEX_NAME ORDER BY IC.INDEX_OWNER, IC.TABLE_OWNER, IC.TABLE_NAME, IC.INDEX_NAME, IC.COLUMN_POSITION
We have build in application which fields are in update where clause (more then in index) and we are need Required property in TField only.
In dbexpress there is GetMetaData property for this purpose.
Thanks a lot
Zdenek
we are using TUniQuery and TClientDataset-TDatasetProvider-TUniQuery.
Is it possible (or add this feature) to disable internal queries on indexes to speedup application. For examaple:
SELECT '' TABLE_CATALOG, IC.TABLE_OWNER TABLE_SCHEMA, IC.TABLE_NAME, '' INDEX_CATALOG, IC.INDEX_OWNER INDEX_SCHEMA, IC.INDEX_NAME, IC.COLUMN_NAME, IC.COLUMN_POSITION, DECODE(IC.DESCEND, 'ASC', 0, 1) DESCENDING
FROM SYS.ALL_IND_COLUMNS IC, SYS.ALL_INDEXES I
WHERE IC.TABLE_OWNER = 'SEIWIN5' AND IC.TABLE_NAME = 'HSFT_TAB158' AND I.UNIQUENESS = 'UNIQUE' AND I.OWNER = IC.INDEX_OWNER AND I.INDEX_NAME = IC.INDEX_NAME ORDER BY IC.INDEX_OWNER, IC.TABLE_OWNER, IC.TABLE_NAME, IC.INDEX_NAME, IC.COLUMN_POSITION
We have build in application which fields are in update where clause (more then in index) and we are need Required property in TField only.
In dbexpress there is GetMetaData property for this purpose.
Thanks a lot
Zdenek