Re: Database Code Portability

From: Date: Sat, 17 Feb 2001 17:28:24 +0000
Subject: Re: Database Code Portability
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40362@lists.php.net to get a copy of this message
Dave, The ODBC functions in PHP mostly address this. A good ODBC driver will also translate full SQL92 functionality into the underlying dialect that the database supports. Let me know if you have any questions. Best regards, Andrew --------------------------------------- Andrew Hill - OpenLink Software Director Technology Evangelism eBusiness Infrastructure Technology http://www.openlinksw.com On 2/16/01 11:54 PM, "Dave Haggerty" <haggerty@ix.netcom.com> wrote: > I haven't seen this issue discussed, sorry if I missed it: > > My question is why are the PHP database functions so unportable? Is there a > reason why they have to be specific to, say MySQL. It seems to me (even > though I am an amatuer to this stuff) that the code should be much more > easily portable from one db to another? > > Do most coders add an abstraction layer themselves? Or maybe people just > don't port PHP code much and so don't worry about it? > > Mainly curious.... > > Dave > > >

« previous php.general (#40362) next »