Pierre, Why not use ODBC functions everywhere?
Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Virtuoso Universal Server -----Original Message----- From: Pierre-Alain Joye [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 1:01 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Re: Unified DB Query function On Mon, 01 Jul 2002 14:55:01 -0300 Manuel Lemos <[EMAIL PROTECTED]> 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php