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

Row count

Status
Not open for further replies.

OraMs

Programmer
Feb 12, 2000
40
US

In ORACLE, you can use ROWNUM to select only a given number of rows. Is there something like this is Access? What is it?

Thanks in advance.
 
You can do something like this:

SELECT TOP 25
X, Y
FROM Z
WHERE A = "Something"
ORDER BY B Best Regards,
Mike
 

Thanks Mike. Now, what if I only want certain columns from the TOP 25 rows?

 

Mike, please disregard previous message. I got it. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top