Hi all,
I have 1 million rows in my target and i am using these records in a lookup table .now the problem for me is i am joining this look up table with some other table and i want one particular row from that lookup how to get the 1000th record directly from that lookup table instead of processing all the records
THANKS IN ADVANCE.
KUMAR.
How to fetch particular record?
Moderators: chulett, rschirm, roy
What is your database? I know in SQLServer you can use something like
Code: Select all
Select TOP 1 FROM (select TOP 1000 from TABLE
ORDER BY KEY DESC)
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.