Home » RDBMS Server » Performance Tuning » How to use index in date column
How to use index in date column [message #133277] |
Thu, 18 August 2005 06:33  |
d.dineshkumar
Messages: 211 Registered: April 2005 Location: Kolkatta
|
Senior Member |
|
|
hi all,
i am having a table emp ( from scott user).
I create an index on hiredate of this table.
then why this query is not using index.
SELECT * FROM EMP T WHERE TO_CHAR(T.HIREDATE,'MM/DD/YYYY')=TO_CHAR(TO_DATE('12/17/1980','MM/DD/YYYY'),'MM/DD/YYYY')
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri May 02 11:28:52 CDT 2025
|