Subject Re: [firebird-support] order by column index
Author Martijn Tonies
Hi Glenn,

> Up until now we have been using Interbase 6.0 and are testing
> Firebird 1.5.
>
> We have a grid component that was written in-house and uses
> the "ORDER BY COLUMN INDEX" eg ORDER BY COLUMN 1. This fails with
> the 'invalid ORDER BY clause' error. Is there any way to order by
> column index in Firebird?

The the word "COLUMN" -

SELECT * FROM EMPLOYEE
ORDER BY 1


With regards,

Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com