res_code (resort code) sales_site (resort where the inventory is located) recess_days (recision days)
So, for the last row would be SR selling PR the recision days are 10. Sorry for not saying this before
there is no such thing as the "last" row in a table
rows in a table do not have any sequence, they are simply stored somewhere on disk
you might, for example, declare an additional column into which you place the current timestamp when the row is inserted into the table, and then you can get the "last" rows by using ORDER BY on the timestamp column
Informix. Sorry if I posted in the worng place. If that is the case, lpease let me know where can I post for informix questions and btw, THANKS for helping.
Is there any Relative Record number on Informix ?
If so, you could play with this RRN to get eg the last 5 rows of a table, otherwise you could create a stored procedure to do so.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.