How to use SQL "LIMIT" keyword against an MDB file
- From: Martin <martinvalley@xxxxxxxxxxx>
- Date: Mon, 28 Jan 2008 14:37:03 -0700
I'm trying to adapt a PHP script that was written to use MySQL, so
that it will work with an MSAccess MDB file.
An important part of the script makes use of the SQL "LIMIT" keyword
available in MySQL. eg: "SELECT MyField FROM MyTable LIMIT 40,10" to
select 10 records beginning at the 41st record.
Can anyone tell me how I can achieve this same functionality when
using ODBC functions to access an MDB file? I think I can set ROWCOUNT
(or possibly TOP) to retrieve only 10 records but how do I get it to
start at the 41st record?
.
- Follow-Ups:
- Re: How to use SQL "LIMIT" keyword against an MDB file
- From: NC
- Re: How to use SQL "LIMIT" keyword against an MDB file
- From: Martin
- Re: How to use SQL "LIMIT" keyword against an MDB file
- From: Ivan Marsh
- Re: How to use SQL "LIMIT" keyword against an MDB file
- Prev by Date: Re: how to pass POST variables without a form?
- Next by Date: Re: How to use SQL "LIMIT" keyword against an MDB file
- Previous by thread: how to pass POST variables without a form?
- Next by thread: Re: How to use SQL "LIMIT" keyword against an MDB file
- Index(es):
Relevant Pages
|