note 15058 added to function.odbc-execute.php

From: Date: Sun, 26 Aug 2001 02:43:43 +0000
Subject: note 15058 added to function.odbc-execute.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17149@lists.php.net to get a copy of this message
I don't think odbc_prepare and odbc_execute support output parameters for stored procedures on MSSQL. An example of output parameters for MSSQL is at http://support.microsoft.com/support/kb/articles/q174/2/23.asp Also, my MSSQL driver seems happy only when I use the following incantation: ...code removed... $stmt=odbc_prepare($conn_id, "exec my_proc_name ?,?,?"); $parms=array("fred","password",5); if (!odbc_execute($stmt, &$parms)) die("odbc_execute failed"); http://www.php.net/manual/en/function.odbc-execute.php

« previous php.notes (#17149) next »