|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #15013 String length restriction in mssql functions
Submitted: 2002-01-12 22:50 UTC Modified: 2016-10-15 23:06 UTC
Avg. Score:4.8 ± 0.4
Reproduced:9 of 9 (100.0%)
Same Version:0 (0.0%)
Same OS:4 (44.4%)
From: blakjak at webone dot com dot au Assigned:
Status: Wont fix Package: MSSQL related
PHP Version: * OS: Win2k
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-01-12 22:50 UTC] blakjak at webone dot com dot au
I read in the response to a previous bug report that the mssql extension doesn't support varchar or char columns larger than 255 characters.

My request is that the extension be updated to cope with the 8KB maximum in SQL Server.




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-04 21:51 UTC] php at skuza dot net
I'm getting this issue when connecting to Teradata via ODBC. PHP 5.3.1 OS Windows 

Please fix it as I'd like to standardise on one set of functions (PDO) for all my 
DB access (ODBC, SQL Server, Teradata, Oracle, etc)
 [2010-12-29 12:00 UTC]
-Package: Feature/Change Request +Package: MSSQL related -PHP Version: 4.1.0 +PHP Version: *
 [2016-10-15 23:06 UTC]
-Status: Open +Status: Wont fix
 [2016-10-15 23:06 UTC]
With MSSQL being removed from PHP as of PHP7.0, and ext/mssql not having a maintainer, I'm gonna close this report as a Won't fix, until maybe one day it will find a new maintainer.

Alternatively you can use sqlsrv from Microsoft if you are on Windows, or pdo_dblib if you are on Unix.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Dec 03 14:01:27 2020 UTC