|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-01 11:38 UTC] sniper@php.net
[2005-11-01 19:21 UTC] fmk@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 15:00:02 2025 UTC |
Description: ------------ For php5-200510311530 (Also 5.0.5 stable release) ./configure --prefix=/usr/local --with-apxs=/usr/local/apache/bin/apxs --with-libxml-dir=/usr/local --with-zlib --with-curl --with-gd --with-ldap --with-mssql --with-pear For FreeTDS 0.63 ./configure --prefix=/usr/local --with-tdsver=8.0 --enable-msdblib When I fire an SQL Query that returns a uniqueidentifier I get the error 'Warning: mssql_query() [function.mssql-query]: column 1 has unknown data type (36) in /usr/websites/dev/testies.php on line 12' Reproduce code: --------------- function connect_sql () { $mssql_link = mssql_connect('<IP>', '<USER>','<PASSWORD>') or die ("Server Connection Error"); $mssql_db = mssql_select_db('Websites',$mssql_link) or die("Database Error"); } connect_sql(); $query = 'select newid() as test'; echo $query . '<br/>'; mssql_query($query); mssql_close(); Expected result: ---------------- No result should be returned. It should generate a new id. Actual result: -------------- 'Warning: mssql_query() [function.mssql-query]: column 1 has unknown data type (36) in /usr/websites/dev/testies.php on line 12'