sxooter, thanks.
i double check the codes, when i post the error codes above here, i have simplfied it. and i left the "order by" out. actually the codes with error is in the "order by"
actually the sql statement is
"select table1.code as code, table1.name as name, table2.office as office from table1, table2 where table1.code=table2.code order by code"
there is "order by code"
I thought when I use "order by code", it is the same as "order by table1.code", because i already select table1.code as code.
This is working in interbase. But the firebird, it creates errors.
i have to use
select table1.code as code, table1.name as name, table2.office as office from table1, table2 where table1.code=table2.code order by table1.code
"order by table1.code".
So my questions stays.
"select table1.code as code, table1.name as name, table2.office as office from table1, table2 where table1.code=table2.code order by code"
this sql statement works in Interbase not firebird, what the sql standard says here? it is still an bug or it is the sql standard that firebird follows and interbase didn't? thanks!