[wp-hackers] Querying MicroSoft SQL server from within WordPress

Ryan McCue lists at rotorised.com
Sun May 4 02:06:49 UTC 2014

On 2014-05-04 7:05, Haluk Karamete wrote:
> Or do I need to write my own code using PDO?
> In my theme, I need to query MSSQL and display the results within a page.
> That's what I'm up against.

You'll have to write your own code for this. wpdb is heavily reliant on 
MySQL, and isn't really intended for use outside of WP core.

If you want a similar class for MSSQL, you could try something like 
Doctrine's DBAL: http://www.doctrine-project.org/


More information about the wp-hackers mailing list