ID:               29292
 Comment by:       phopfgartner at tin dot it
 Reported By:      jmelville at selectaustralasia dot com dot au
 Status:           Bogus
 Bug Type:         MSSQL related
 Operating System: Windows 2000 Server SP4
 PHP Version:      4.3.8
 New Comment:

Have you checked that the database is has a compatibility level >= 70?
(see sp_dbcmptlevel)

Peter


Previous Comments:
------------------------------------------------------------------------

[2004-09-22 23:02:00] ohalloran at enterasys dot com

I too have the same problem when upgrading to 4.3.8. 
 I did notice that using PEAR:DB functions the problem not longer
happens.

------------------------------------------------------------------------

[2004-09-22 20:34:01] w dot peereboom at jkz-rkz dot nl

If have installed php version 4.3.8 and 5.0 but with both versions some
sort of the same problem is comming up. When i select all records from a
View stored in MS SQL 2000 ("SELECT * FROM View_name) i get all the
records while the view on SQL server is definied as SELECT * FROM Table
WHERE field IS NOT NULL. When i run this last query in my query analyser
the result is less records then when i start the view query with my php
application. 

I think this has something to do with this same problem.

Winfred

------------------------------------------------------------------------

[2004-09-22 01:56:25] jmelville at selectaustralasia dot com dot au

> in the bottom line make sure php
> use updated ntwdblib.dll file.

Thanks momo. I've read #25777 and I understand that there are problems
with PHP using older libraries to talk to SQL Server. 

I have ntwdblib.dll versions 7.00.839 (this is the one that ships with
PHP including 4.3.9RC3) and 8.00.194 (which comes with SQL 2000) and
the problem described in this bug shows up with both those libs. Is
there an even newer version that I should be using?

------------------------------------------------------------------------

[2004-09-21 11:21:48] [EMAIL PROTECTED]

ilia introduced this bug on 1.86.2.25 fixing #25777.

all the meaning was discussed there. in the bottom line make sure php
use updated ntwdblib.dll file.

------------------------------------------------------------------------

[2004-09-17 17:30:20] dcrignon at adequasys dot com

I confirm this problem, under Windows 2003 Server, with Apache 2 or 1.3
and PHP 4.3.8 or 5.0.

The only way is to go back to PHP 4.3.3 ...
Not the good solution for me.
Do you know if someone is working on this bug to fix it?

We can adapt our product and trim() any variable to recover good
values, but is it the good solution?..

Thank you for your help!

David

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/29292

-- 
Edit this bug report at http://bugs.php.net/?id=29292&edit=1

Reply via email to