Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create index with TO_DATE and TO_CHAR help

KeenOnOracleMay 28 2015 — edited May 28 2015

Friends

Could anyone help me out creating this function based index?

CREATE INDEX DB_FLUX ON LTB(TO_DATE(TO_CHAR(DATABASE,'DD/MM/YYYY'))) TABLESPACE INDX;

Error on line 1:

ORA-01743:only pure functions can be indexed

Tks a lot

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2015
Added on May 28 2015
12 comments
3,474 views