|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-07-09 13:33 UTC] jani@php.net
[2007-07-17 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 16:00:02 2025 UTC |
Description: ------------ I can't select the version I'm using, which is 5.1.1, and for the record, I cannot upgrade the server to a newer version. As in, the bosses say so, so don't say to upgrade -- If it's confirmed fixed in a newer version, I think I can get them to do so. Assuming a DB connection already. $groupKeys is a long list of names separated by commas. I cannot post the exact stored procedure, but it looks like: CREATE procedure dbo.proc_select_AllUserPerms @groupKeys varchar(8000) as Lots of stuff. GO Looks the same to me. I would like to point out, using a query 'exec dbo.proc_select_AllUserPerms \'' . $groupKeys . '\'' works fine, which is what I'll be forced to use until this is fixed. Reproduce code: --------------- // assuming DB connection already $dbConn = mssql_init('proc_select_AllUserPerms'); mssql_bind($dbConn, '@groupKeys', $groupKeys, SQLVARCHAR, false, false, 8000); $result = mssql_execute($dbConn); Expected result: ---------------- It work. Actual result: -------------- Unable to set parameter