I\'m trying a query in PHP to connect and extract data from a MSSQL EXPRESS (2008 R2) database. But i\'m getting an error when i\'m pulling ntext based data from the DB.
Couple of options from the comments on the mssql_query() manual page
mssql_query()
SELECT CAST(field1 AS TEXT) AS field1 FROM table
/etc/freetds.conf
SELECT *
Plenty more if you search ntext on that page.
ntext