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

SQL Keyword LIMIT in Access

Status
Not open for further replies.

Tommy408

Programmer
Apr 30, 2006
53
US
Is there a keyword for Access SQL like LIMIT? I need to select ONE specific record in a table. Like the 2nd record or 3rd record independent from ID primary key because I don't know what they are.
 
You can use something like this in SQL, not sure about Access:
Code:
"SELECT Top 1(cPurchasePrice) From SomeTable Where (cPurchasePrice NOT IN(SELECT TOP 1 (cPurchasePrice)FROM SomeTable))"
 
How are ya Tommy408 . . .

In [blue]Jet SQL[/blue] no. Perhaps is relates to another [blue]keyword[/blue] in Jet!

What are you intending to limit?

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top