Re: Re: Unified DB Query function
| From: | Pierre-Alain Joye | Date: | Mon, 01 Jul 2002 18:01:11 +0000 |
| Subject: | Re: Re: Unified DB Query function | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20243@lists.php.net to get a copy of this message | ||
On Mon, 01 Jul 2002 14:55:01 -0300
Manuel Lemos <mlemos@acm.org> wrote:
> Hello,
>
> On 07/01/2002 06:46 AM, Casey Allen Shobe wrote:
> > I'm trying to write a unified database query function for an application I
> > have which currently accesses data from both DB2 and Microsoft SQL from a
> > Linux server. I'm using ODBC functions for DB2, and Sybase functions for
> > Microsoft SQL.
>
> Why do you re-invent the wheeel and don't you use a database abstraction
> package that handles the database differences of you, like for instance
> Metabase:
>
> http://www.phpclasses.org/metabase
Just because diversity rules in our world :).
btw, do you have samples codes using the xxxxxDefinition methods in metabase ?
pa