var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
I need to fetch the last row from a table.
Is there any inbuilt function to fetch the last row in from a table in sybase??
any one could you please help me.
Thanks in advance
There is no such thing as first row or last row.
There is no specific order. If you want data in a specific order you must use an order by clause.
What do you consider as first or last? Maybe cosider the min() or max() functions.
where id = (select max(id) from mytable)
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors