Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Index Creation Question - Which is More Efficient?
I'm trying to rewrite some existing code and keep coming across indexes
being created similar to this:
CREATE INDEX TSYSCONTYPRES_I
ON T_HB_UPDATE_RESULTS(PERSON_ID||TRIM(TYPE)||"DATE");
Other than the fact there are reserved words in the code would that index be
efficient or would one defined like before (using the same fields just for
comparison purposes) be more efficient:
CREATE INDEX TSYSCONTYPRES_I
ON T_HB_UPDATE_RESULTS(PERSON_ID, TYPE, "DATE");
Thanks. Received on Fri Jul 28 2006 - 19:25:29 CDT