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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you select frist 1000 rows

Status
Not open for further replies.

citychap26

Programmer
Sep 19, 2004
144
GB
Hi Guys

I'm being lazy!!

In Sybase you can do the following to limit rows returned:

Set rowcount 1000

Then run any query and it will give you the first 1000 rows. How can you do this in Access ?

Cheers

SK
 
Aha, figured it out, SELECT TOP 1000 x,y,z from table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top