[wp-hackers] Query - how to make wordpress work with oracle 10.2.02 DB?

Jamie Talbot wphackers at jamietalbot.com
Wed Feb 21 22:29:56 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dwaipayan (Dwai) Banerjee wrote:
> thanks... so any sample wpdb.php available for this among the subscribers?
> any help from anybody is highly appreciated...
> 
> On 2/21/07, Andrea Ercolino <aercolino at yahoo.com> wrote:
>>
>>
>> Any db access in wordpress pass through the code in the file wpdb.php,
>> where
>> a class is implemented.
>> If you write that interface for Oracle, then it should work fine, at
>> least
>> theoretically.

It's probably not as easy as that unfortunately - a lot of the SQL calls built in to WordPress use
MySQL specific syntax.  Take SQL_CALC_FOUND_ROWS for example - the Oracle equivalent would just be
found_rows.  A lot of people have asked for database abstraction over the years (especially so they
could use Postgres), and some work was started on it, but it didn't receive much support from the
core devs and I'm not sure if it came to anything...

Cheers,

Jamie.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF3MfkrovxfShShFARAmPUAJ9ZIbh9fTDH8ZIMBJSyeUOMCKSiAwCdFMiJ
dcfPdsXHkB9u082OXMZPQIk=
=HIw4
-----END PGP SIGNATURE-----


More information about the wp-hackers mailing list