Subject | Re: [firebird-support] Re: ORDER BY curiosity |
---|---|
Author | Martijn Tonies |
Post date | 2006-02-16T16:25:24Z |
Hi,
that sorts the data?
Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
> > > This query produces the expected result, which is the records inCould it be a client side problem then? Some client side component
> > > descending time order:
> > >
> > > SELECT RXSTAMP FROM RXOLDREQUESTRECORDS ORDER BY RXSTAMP DESC
> > >
> > > this one doesn't, the records are in ascending order:
> > >
> > > SELECT RXSTAMP FROM RXOLDREQUESTRECORDS ORDER BY 1 DESC
> > >
> > > (RXSTAMP is a TIMESTAMP)
> > >
> > > Can anyone suggest why? A similar query I have contains a union so
> > > using the first form is not possible...
> >
> > Can you reproduce this problem in the command line tool "isql"?
>
> I just tried this with isql and IBExpert and it is fine with both of
> them. The problem comes with my Delphi 7 / DBExpress application.
that sorts the data?
Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com