Subject | Re: [firebird-support] Odd select results |
---|---|
Author | Philippe Makowski |
Post date | 2011-05-04T20:07:27Z |
2011/5/4 Tom Wright <tom@...>:
and as said Woody
or
SELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY TEST_NO
or
SELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY 2
or
SELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY SUBJECT_NO
and why ODBC ?
Firebird version ?
> Thanks Woody,it should
> Sadly it's nothing so simple, adding an ORDER BY cause doesn't change
> anything
and as said Woody
> FIRST means nothing without an ORDER BY clauseSELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY 1
or
SELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY TEST_NO
or
SELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY 2
or
SELECT FIRST 10 TEST_NO, SUBJECT_NO FROM TESTS ORDER BY SUBJECT_NO
and why ODBC ?
Firebird version ?