Skip to Main Content

SQL & PL/SQL

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!

INDEX on VIEW or TABLE when using CONTAINS function on the VIEW

509768Aug 22 2007 — edited Aug 22 2007
Hi,

I'm querying a view with a contains function and I'm getting an error:

query: select * from view where contains(name,'jack OR jill')>0

ORA-20000: Oracle text error
DRG-10599 column is not indexed.

From what I gathered you can't create an index on the view, or is that possible afterall (using 10g).

Would it be sufficent to create an index on the column in the table that the view-query is pulling the data from? or can you use the contains funtion on views at all?

Or are there other ways of doing this better?


Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2007
Added on Aug 22 2007
3 comments
450 views