php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69634 mssql_fetch_array returns 255 char only
Submitted: 2015-05-14 09:36 UTC Modified: 2016-10-15 23:16 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: kailasvnair49 at gmail dot com Assigned:
Status: Wont fix Package: MSSQL related
PHP Version: 5.4.40 OS: Windows 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kailasvnair49 at gmail dot com
New email:
PHP Version: OS:

 

 [2015-05-14 09:36 UTC] kailasvnair49 at gmail dot com
Description:
------------
I already set 
ini_set('mssql.textsize','102400');
ini_set('mssql.textlimit','102400');

in php.ini file

issue :: mssql_fetch_array returns 255 char only
Query type : stored procedure

myQuery = 'stored_procedure_name;param1 param2'
Query executed successfully but limiting char


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-14 11:41 UTC] deivid dot garcia dot garcia at gmail dot com
Try to report on the Github issue queue:

https://github.com/azure/msphpsql
 [2015-06-05 07:42 UTC] miracle at rpz dot name
Well known issue with [var]char fields. Workaround - return text instead of varchar: http://php.net/manual/en/function.mssql-query.php#70030
 [2016-10-15 23:16 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-10-15 23:16 UTC] kalle@php.net
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-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 09:01:34 2025 UTC