• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Regarding index usage

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
I have a table with an index.Under what conditions the sqls will not be able to use the index.
The cases which i found are like
1.If the column that is indexed is modified in the where part then index will not be used for the statement.The modification is either using the indexed column in an expression like
COL1 || ' ' like 'A%'
or with a function around the indexed column like
NVL(COL1,' ')...
Is there any other situations where a statement did not use index.
Regards
Ramesh R G V S
 
reply
    Bookmark Topic Watch Topic
  • New Topic