Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Sort long
Oliver Huppert wrote:
>
> Hi *.*
>
> I have a problem in sort my resultset by a long-field.
>
> SELECT * FROM ..... ORDER BY <long-field>
>
> doesn't work.
>
You can't order by long field. one possible solution is to create varchar2 field
that will contain first up to 4000 characters of the long field and sort by it.
R.
Received on Wed Feb 28 2001 - 08:47:20 CST