#35158 [Opn->Fbk]: binding of stored proc input parameters is not working

From: Date: Tue, 08 Nov 2005 19:29:46 +0000
Subject: #35158 [Opn->Fbk]: binding of stored proc input parameters is not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87877@lists.php.net to get a copy of this message
ID: 35158 Updated by: sniper@php.net Reported By: vladik_g at mail dot ru -Status: Open +Status: Feedback Bug Type: MSSQL related Operating System: Linux RedHat 9 PHP Version: 5CVS-2005-11-08 (snap) New Comment: What else have changed for you except for PHP version? Previous Comments: ------------------------------------------------------------------------ [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 (#87877) next »