Limit Rows returned in a query

  • Thread starter Thread starter Nigel
  • Start date Start date
N

Nigel

Is there any way to limit the number of rows returned in a query, I have some
conditions but I only want the first 5 rows returned
 
Nigel said:
Is there any way to limit the number of rows returned in a query, I
have some conditions but I only want the first 5 rows returned

Sure, just open the query properties page and set the relevant property. Or,
switch to SQL View and add the words "TOP 5" immediately after the word
"SELECT"
 
Nigel said:
Is there any way to limit the number of rows returned in a query, I have some
conditions but I only want the first 5 rows returned


Check the TOP predicate in Help - Table of contents -
Microsoft Jet SQL Reference
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top