#19588 [NoF->Opn]: Problems with smallmoney datatype

From: Date: Mon, 23 Dec 2002 10:07:06 +0000
Subject: #19588 [NoF->Opn]: Problems with smallmoney datatype
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28258@lists.php.net to get a copy of this message
ID: 19588 User updated by: falk@surrounded.de Reported By: falk@surrounded.de -Status: No Feedback +Status: Open Bug Type: MSSQL related Operating System: Windows XP Pro PHP Version: 4.2.3 New Comment: The mentioned release behaved unfortunately exactly the same, but the transferred data amount could be increased. Previous Comments: ------------------------------------------------------------------------ [2002-12-23 01:00:04] php-bugs@lists.php.net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-12-07 01:38:38] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-09-25 04:37:25] falk@surrounded.de Information as of phpinfo(): PHP Version 4.2.3 System Windows NT 5.1 build 2600 Build Date Sep 6 2002 10:38:51 Server API CGI Debug Build no Thread Safety enabled mssql MSSQL Support enabled Library version 7.0 Directive Local Value Master Value mssql.allow_persistent On On mssql.batchsize 0 0 mssql.compatability_mode Off Off mssql.connect_timeout 5 5 mssql.datetimeconvert On On mssql.max_links Unlimited Unlimited mssql.max_persistent 10 10 mssql.min_error_severity 10 10 mssql.min_message_severity 10 10 mssql.textlimit Server default Server default mssql.textsize Server default Server default mssql.timeout 60 60 Zend Optimizer installed _ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.1 _ENV["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 4 Stepping 2, AuthenticAMD Running with MS SQL 7.0 Desktop Edition (I don't know whether this appears with MS SQL 2000). ****** Report: When selecting more than a small amount of rows (approx. 10) using mssql_query from a table including a smallmoney column, the script will immediately abort execution. This problem does not appear when using decimal(9,2) columns instead of smallmoney. Thus, a possible workaround for me was to CAST the smallmoney-column to decimal ("SELECT CAST ( value decimal(9,2))" instead of "SELECT value"). TIA for your time, best wishes, Falk ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19588&edit=1

« previous php.bugs (#28258) next »