Index to replace regexp_like
692306Mar 23 2009 — edited Mar 23 2009Hi I am a novice at oracle and need help in creating an index on a column that has text values. Basically, I have a requirement where I need to retrieve all records from a table where the data in a specific column begins with letter A (or B or C so on...). I was using REGEXP_LIKE till now but the performance of the query isn't good. This table has around 13500 records and this column value isn't null for any of the records.
Also, in one case I will retrieve all other rows in which the data in this column does not start with an alphabet (for e.g. beginning with a number).
Any help is much appreciated.
Thanks,
DM