Database Tuning (MOSC)

MOSC Banner

How to force rule to sql statement

edited Nov 3, 2009 10:21AM in Database Tuning (MOSC) 13 commentsAnswered
 Dear all,

        I have a question about how to use index with the following statement?

                  SQL> select * from tableA where columnA like '%A%';

        I created index on columnA but no effect, the effect would be effect by the following query.

                  SQL> select * from tableA where columnA like 'A%';

        Hou could I improve performance from the first query?

Best regards,

Pavida

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