Stevens
10-10-2003, 07:58 AM
I have a MSSQL Server that I am accessing and I have come up with some errors. I actually have come up with some solutions too, but I'm not sure how to handle them.
When running a simple query in PHP to the db (mssql_query (SELECT * FROM dbtable); ) I get the error "mssql_query(): message: Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier. (severity 16)."
I have done some research on this and from what I understand, I am using DBLIB or some older ODBC version that doesn't support Unicode. The only answer I have gotten so far is "You need to check your data access API from PHP, it's configuration etc." That would be nice if I knew what that meant. Is anyone familiar with this or how to remedy the problem? Might there be a way to get around the Unicode thing or have I run into a necessary upgrade?
ERIC
When running a simple query in PHP to the db (mssql_query (SELECT * FROM dbtable); ) I get the error "mssql_query(): message: Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier. (severity 16)."
I have done some research on this and from what I understand, I am using DBLIB or some older ODBC version that doesn't support Unicode. The only answer I have gotten so far is "You need to check your data access API from PHP, it's configuration etc." That would be nice if I knew what that meant. Is anyone familiar with this or how to remedy the problem? Might there be a way to get around the Unicode thing or have I run into a necessary upgrade?
ERIC