Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I query data by record count?

Status
Not open for further replies.

EddyLLC

Technical User
Mar 15, 2005
304
US
Is there a way to query one record from a table. Specifically say the second record or the third record. I mean the criteria would not be specific data it would simply be the order of the records. I want to see the fourth record for example.

Thanks.

 
In a relational database there is no notion of record number.
To have a sorted dataset you have to use an ORDER BY clause.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top