#35158 [Fbk->Opn]: binding of stored proc input parameters is not working
| From: | vladik_g at mail dot ru | Date: | Wed, 09 Nov 2005 10:14:30 +0000 |
| Subject: | #35158 [Fbk->Opn]: binding of stored proc input parameters is not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-87916@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: Feedback
+Status: Open
Bug Type: MSSQL related
Operating System: Linux RedHat 9
PHP Version: 5CVS-2005-11-08 (snap)
New Comment:
Nothing more.
With php 4.4 on same machine with same other soft all works ok.
Previous Comments:
------------------------------------------------------------------------
[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