Hi,
I am trying to create an index having dates on a column in a table.
Create index IDX_TABLE_A on PCS_TABLE_A
(
TO_DATE(to_char (sysdate,'yyyy/mm/dd HH24:MI:SS'), 'yyyy/mm/dd HH24:MI:SS') -
TO_DATE(TO_CHAR(COLUMN_A,'yyyy/mm/dd HH24:MI:SS'), 'yyyy/mm/dd HH24:MI:SS') , sysdate , COLUMN_A
);
It is not allowing sysdate to be part of the definition.
I need to use some pure function which is not dependent in session state.
P Lease advice
Cheers !
Subhotech :beer:
I am trying to create an index having dates on a column in a table.
Create index IDX_TABLE_A on PCS_TABLE_A
(
TO_DATE(to_char (sysdate,'yyyy/mm/dd HH24:MI:SS'), 'yyyy/mm/dd HH24:MI:SS') -
TO_DATE(TO_CHAR(COLUMN_A,'yyyy/mm/dd HH24:MI:SS'), 'yyyy/mm/dd HH24:MI:SS') , sysdate , COLUMN_A
);
It is not allowing sysdate to be part of the definition.
I need to use some pure function which is not dependent in session state.
P Lease advice
Cheers !
Subhotech :beer: