|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Limit for Access 2000
I'm doing a small project in Access 2000, and it doesn't seem to understand the LIMIT statement. ie
SELECT * FROM table LIMIT 10 OFFSET 10 Can anyone tell me what the syntax is for LIMIT in access? |
|
#2
|
||||
|
||||
|
Don't think it does.... but you could simply cycle through the returned recordset using a variable as a loop counter and disregard the records that you don't want. Then break the loop after the upper limit.
|
|
#3
|
|||
|
|||
|
LIMIT isn't in Access SQL.
If you open the Access help file contents, there is a chapter on Access SQL that describes the SQL commands available. |
|
#4
|
|||
|
|||
|
I ended up using SELECT TOP recordNo and then cycled until the last record. If I get time I will have a look to see if I can find a better solution.
|
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Limit for Access 2000 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|