You are here: Re: How to use SQL "LIMIT" keyword against an MDB file « PHP Programming Language « IT news, forums, messages
Re: How to use SQL "LIMIT" keyword against an MDB file

Posted by Ivan Marsh on 09/28/48 12:01

On Mon, 28 Jan 2008 14:37:03 -0700, Martin wrote:

> 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?

You just lost an enormous amount of functionality. I'm assuming this is
something you had to do.

Pull all of the records and then programatically strip out the records you
don't want from the array.

--
I told you this was going to happen.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация