#22623 [Opn]: In MSSQL 2000 Server real type is read as unknown type

From: Date: Mon, 10 Mar 2003 13:59:30 +0000
Subject: #22623 [Opn]: In MSSQL 2000 Server real type is read as unknown type
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35258@lists.php.net to get a copy of this message
ID: 22623 User updated by: tolochanov at elit dot lviv dot net Reported By: tolochanov at elit dot lviv dot net Status: Open Bug Type: MSSQL related Operating System: Windows 2000 Professional SP3 PHP Version: 4.3.1 New Comment: I used mssql_fetch_row() function. Previous Comments: ------------------------------------------------------------------------ [2003-03-10 07:54:49] tolochanov at elit dot lviv dot net SQL 2000 Server on Win2000 Adv Server Apache 2.0.43,PHP 4.3.1 on Win 2000 SP3 While attempting to read field which contains data of 'real' type (for ex. - 24,00 168,00 etc.), I get some sort of '1.36741241919E-304' or other number near zero on every attempt. If I set that field to SmallInt, the reading is OK. Function mssql_field_type() returns type 'unknown'. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22623&edit=1

« previous php.bugs (#35258) next »