Posted by --CELKO-- on 04/27/06 20:39
Let's get back to the basics of an RDBMS. Rows are not records; fields
are not columns; tables are not files; there is no sequential access or
ordering in an RDBMS, so "first", "next" and "last" are totally
meaningless. If you want an ordering, then you need to have a column
that defines that ordering. You must use an ORDER BY clause on a
cursor or in an OVER() clause.
You need to read a book on RDBMS; you are still locked into a file
system mind set.
Navigation:
[Reply to this message]
|