Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: to_char( ) column indexable
Have you tried:
"select a, b from XYZ where cid = to_number(:d1)"
Steve wrote:
> Hi,
>
> In the query
> "select a, b from XYZ where to_char(cid) = :d1",
> the cid index is not used due to to_char function. Has anyone indexed
> on to_char(column) to do the query, or any other way around?
>
> Thanks.
>
> Steven
Received on Mon Feb 08 1999 - 19:07:30 CST
![]() |
![]() |