|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-05 04:57 UTC] liyong at nenu dot edu dot cn
[2005-04-05 05:05 UTC] liyong at nenu dot edu dot cn
[2005-04-05 05:39 UTC] fmk@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 14:00:01 2025 UTC |
Description: ------------ I want return varchar(600) from stored procedure,but it is shortened to 255 bytes. Reproduce code: --------------- stored procedure: create procedure p_bug @msg varchar(600) output as set @msg='something more than 255 bytes ......' PHP statement: $stmt=mssql_init('p_bug'); mssql_bind($stmt,"@msg",&$msg,SQLVARCHAR,TRUE); $result=mssql_execute($stmt); echo $msg; Expected result: ---------------- something more than 255 bytes ...... Actual result: -------------- something shortened to 255 bytes