Posted in 1997
Alexey Poukhovsky wrote: > > Hello, All! > Can you tell me, has Informix SQL "Upper" function. Or any other method to > make "order by" case unsensitive? > > In Oracle I made it like select * from tab order by UPPER(field). No, there is no general way. You can write a stored procedure for this special case (one for each length) see the FAQ. (one for char(16), one for char(8) ...) But note, that this was never a good query. In Oracle this will cause a sequential scan and an in flight sort.
We use strictly necessary cookies to make this site work. With your consent we’d also use optional cookies for analytics and marketing. You can accept all, reject all, or choose. Read our Cookie Policy.