× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks. That's good to know about LIMIT being specific to MySQL.

Kelly

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Scott Klement
Sent: Thursday, December 03, 2009 2:48 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] php vs net.data

Larry,

The LIMIT feature isn't a part of the mysql_query() routine. It's a
non-standard keyword that's allowed in SQL statements in MySQL.
Anywhere that you can run SQL SELECT statements against a MySQL
database, you can use the LIMIT keyword.

IBM DB2 does not support a LIMIT keyword. This has nothing whatsoever
to do with PHP, it has to do with the IBM DB2 database vs. the MySQL
database.

You can certainly use MySQL from PHP on i. You can even use it with the

IBMDB2I storage engine for MySQL to let MySQL query a Physical File.

There are ways of achieving similar functionality via DB2 SQL statments,

but they aren't as simple or elegant. We've had several discussions
about them in forums in the past... you might try searching the
archives.



Larry Kleinman wrote:
Pretty cool, Kelly. The only question is will it work with ZendCore
using
i5_query instead of mysql_query?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.