index creation error
I am trying to create index on table. index contains function regexp_replace. getting below error.
ORA-01743: only pure functions can be indexed01743. 00000 - "only pure functions can be indexed"*Cause: The indexed function uses SYSDATE or the user environment.*Action: PL/SQL functions must be pure (RNDS, RNPS, WNDS, WNPS). SQLexpressions must not use SYSDATE, USER, USERENV(), or anythingelse dependent on the session state. NLS-dependent functionsare OK.
I have checked the oracle forums. its telling below:
Bug 20804063 - ORA-1499 as REGEXP_REPLACE is allowed to be used in Function-based indexes (FBI)
Is there any workaround for this?