php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7088 mssql_fetch_row
Submitted: 2000-10-08 12:34 UTC Modified: 2001-06-30 15:36 UTC
From: tcs at cyber dot cs dot ntou dot edu dot tw Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.2 OS: Windows 2000 Server
Private report: No CVE-ID: None
 [2000-10-08 12:34 UTC] tcs at cyber dot cs dot ntou dot edu dot tw
when fetch a char field,it can not fetch more than 255 char in a field.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-20 16:30 UTC] fmk@php.net
The DB libray from Microsoft does not support the NCHAR datatype. is is converted to and handled as a CHAR with the maximum length of 255 bytes.

Use TEXT type. it will work.

I'll report the error to Microsoft.
 [2000-11-10 01:36 UTC] tcs at cyber dot cs dot ntou dot edu dot tw
Use TEXT can fetch larger then 255 chars.But it still not be able to fetch as long as 2000 chars field.
 [2001-06-30 15:36 UTC] fmk@php.net
This is not a bug in the php extension, but a limmitation in the libraries provides by Microsoft.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 26 23:01:33 2024 UTC