#35158 [Asn]: binding of stored proc input parameters is not working

From: Date: Mon, 14 Nov 2005 14:09:05 +0000
Subject: #35158 [Asn]: binding of stored proc input parameters is not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88148@lists.php.net to get a copy of this message
ID: 35158 User updated by: vladik_g at mail dot ru Reported By: vladik_g at mail dot ru Status: Assigned Bug Type: MSSQL related Operating System: Linux RedHat 9 PHP Version: 5CVS-2005-11-08 (snap) Assigned To: fmk New Comment: Frank, is there any chance to get it working shortly? Previous Comments: ------------------------------------------------------------------------ [2005-11-09 12:55:01] sniper@php.net Frank, check this out please. ------------------------------------------------------------------------ [2005-11-09 11:14:28] vladik_g at mail dot ru Nothing more. With php 4.4 on same machine with same other soft all works ok. ------------------------------------------------------------------------ [2005-11-08 20:29:45] sniper@php.net What else have changed for you except for PHP version? ------------------------------------------------------------------------ [2005-11-08 20:09:47] vladik_g at mail dot ru Description: ------------ binding input parameters is not really working. This mechanism was working well in 4-th family of php. Reproduce code: --------------- php code here: mssql_bind($Proc,'@Param1',$Param1,SQLVARCHAR,false,false,30); mssql_execute($Proc,FALSE) || print(mssql_get_last_message()); MSSQL code here: CREATE PROCEDURE [dbo].[test] ( @Param1 VARCHAR(30) ) AS RETURN 0 GO Expected result: ---------------- successfull execution Actual result: -------------- Procedure 'test' expects parameter '@Param1', which was not supplied. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35158&edit=1

« previous php.bugs (#88148) next »