Hi
I saw before someone asks question about how to select the last 100 rows in Sybase forum, but I am unable to find this question any more, instead the question only appears in Oracle and Access forums only.
Anyway, the question is the same:
- There is a 'top' command in Access, and in Oracle forum it was translated into 'row_number >= 100', so what is the translation for Sybase then. Absolutely I try to use the 'top' command will not work in Sybase.
eg: select top 100 * from mytable order by field1 desc
This will give me syntax error. Anyone knows what can be done in Sybase?
Thanks
I saw before someone asks question about how to select the last 100 rows in Sybase forum, but I am unable to find this question any more, instead the question only appears in Oracle and Access forums only.
Anyway, the question is the same:
- There is a 'top' command in Access, and in Oracle forum it was translated into 'row_number >= 100', so what is the translation for Sybase then. Absolutely I try to use the 'top' command will not work in Sybase.
eg: select top 100 * from mytable order by field1 desc
This will give me syntax error. Anyone knows what can be done in Sybase?
Thanks