#39204 [Bgs]: MsSq_Fetch_* return Empty (Var)Char as single space
| From: | bertrand dot lepoittevin at groupe-mma dot fr | Date: | Fri, 20 Oct 2006 08:59:22 +0000 |
| Subject: | #39204 [Bgs]: MsSq_Fetch_* return Empty (Var)Char as single space | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103775@lists.php.net to get a copy of this message | ||
ID: 39204
User updated by: bertrand dot lepoittevin at groupe-mma dot fr
Reported By: bertrand dot lepoittevin at groupe-mma dot fr
Status: Bogus
Bug Type: MSSQL related
Operating System: Windows 2000
PHP Version: 4.4.4
New Comment:
Thanx for your quick reply,
i will try to upgrade ntwdblib.dll.
Best Regards.
Previous Comments:
------------------------------------------------------------------------
[2006-10-20 08:56:15] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Uprade your ntwdblib.dll and please search in existing bug-reports
before reporting.
------------------------------------------------------------------------
[2006-10-20 06:55:29] bertrand dot lepoittevin at groupe-mma dot fr
Description:
------------
Hi,
When reading Sql Char or Varchar Values which are empty (""),
mssql_fetch_* functions returns a single space, instead of returning
empty string.
According to me this is a bug, right trimming values is just a
workaround, and make thing more complicated when we need to compare
values (form) and sql values.
I know there is old issues of this problem (since PHP v4.3.4), but :
- Is it really a ntwdblib.dll bug ? And which V° of this file corrects
the MS bug ?
- It it possible to avoid this pb in MSSQL APIs ?
Ref :
Sql server 8.0, ntwdblib.dll V2000.80.194.0
Regards.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39204&edit=1