Oracle Text (MOSC)

MOSC Banner

Contains by Character

edited Oct 30, 2012 7:48AM in Oracle Text (MOSC) 1 commentAnswered
Hello,

Is there a way to get the contains function to search by character? For instance:

Table sa_asset has a column named asset_desc which has a text index and several million rows.

A row has data 'Pipe, 36" transmission main 000012345'

We would like:

Select * from sa_asset where contains(asset_desc, '1234%') > 0 to return the row above,

or,

Select * from sa_asset where contains(asset_desc, 'mission%') > 0 to return it.

The performance of '%1234%' or instr are too slow.

Is there a way to have the performance of Contains with this functionality?

Mark

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center