Oracle Error ORA-02327: cannot create index on expression with datatype string

Oracle Error Message

ORA-02327: cannot create index on expression with datatype string

Reason for the Error

An attempt was made to create an index on a non-indexable expression.

Solution

Change the column datatype or do not create the index on an expression whose datatype is one of VARRAY, nested table, object, LOB, or REF.