last record in a table [message #203265] |
Tue, 14 November 2006 09:29 |
gugan_ta
Messages: 17 Registered: April 2006 Location: trichy
|
Junior Member |
|
|
hai to all!
heres my ?????????????
am having some n records in a table.How to retrive last record
from that table.
Thks>>>>>>>>>>>>>>>>>
|
|
|
|
Re: last record in a table [message #203267 is a reply to message #203265] |
Tue, 14 November 2006 09:43 |
gugan_ta
Messages: 17 Registered: April 2006 Location: trichy
|
Junior Member |
|
|
hai
thks 4 ur reply
the table contains 1k records. for eg
eid,ename,age,salary are field names.
my?
i wanna retrieve the 1000th record.
it doesnt contains any sequence. i do no the 1000th record in the table(say its completly not known i,e eid.....).
|
|
|
|
Re: last record in a table [message #203299 is a reply to message #203271] |
Tue, 14 November 2006 12:15 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
By the way, there's no "last record" or "first record" in relational database; unless records in a table contain timestamp (which shows time it was entered), a sequence (mentioned by @gbarbisan) or something similar, it is absolutely impossible to fetch "last" record you've entered into the table.
|
|
|