ID: 32400 Updated by: [EMAIL PROTECTED] Reported By: davidc at densi dot com -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Debian Testing PHP Version: 4.3.10 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-03-21 21:01:06] davidc at densi dot com Description: ------------ This is a simple bug that I can fix in the mssql query but I believe that this should be ignored automaticly by PHP. Basicly, I run this specific sql query and it outputs an Unknown Error. Then I go to query analyzer and the query works. But there's null values warnings. I can't use any @ to ignore the error, it doesn't *ignore* it. I can run any other queries in my php scripts and they work fine. Reproduce code: --------------- http://undernetlinuxnewbie.org/pastebin/view.php?id=126 which works but I get this: Warning: Null value is eliminated by an aggregate or other SET operation. Expected result: ---------------- Sales NAME LineDate Incoming Outgoing Area 12 David Mar 21, 2005 16 13 QC 04 Rob Mar 21, 2004 12 28 ON Actual result: -------------- PHP: Query error! Error message: DB Error: unknown error MSSQL: Query Outputs the good result. but this in the warnings: Warning: Null value is eliminated by an aggregate or other SET operation. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32400&edit=1