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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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,039 views