Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle8 case sensitivity
Venkat <vreddy_at_ix.netcom.com> wrote ...
> There is no parameter that can do that, but you can use
> SELECT lastname FROM personnel
> WHERE UPPER(department) LIKE 'D%'
True, but be careful. By applying a function (UPPER) to the department column on the left-hand side of the WHERE clause, you disable the index on that column (for that query).
A better approach could be
select lastname
from personnel
where department like upper('D%');
Of course, you would need to know that all of your department data is in upper-case.
Chris