note 109783 added to pdostatement.bindparam

From: Date: Mon, 20 Aug 2012 21:56:27 +0000
Subject: note 109783 added to pdostatement.bindparam
Groups: php.notes 
Request: Send a blank email to php-notes+get-190144@lists.php.net to get a copy of this message
SQL Server 2008 R2 If this was in the documentation, I didn't stumble across it. When using bound output parameters with a stored procedure, the output parameters are updated AFTER the LAST rowset has been processed. If your stored procedure does not return any rowsets (no SELECT statements) then you are set, your output parameters will be ready as soon as the stored procedure is processed. Otherwise you need to process the rows, and then: $stmt->nextRowset(); Once that is done for each returning rowset you will have access to the output parameters. ---- Server IP: 69.147.83.197 Probable Submitter: 68.38.235.110 ---- Manual Page -- http://www.php.net/manual/en/pdostatement.bindparam.php Edit -- https://master.php.net/note/edit/109783 Del: integrated -- https://master.php.net/note/delete/109783/integrated Del: useless -- https://master.php.net/note/delete/109783/useless Del: bad code -- https://master.php.net/note/delete/109783/bad+code Del: spam -- https://master.php.net/note/delete/109783/spam Del: non-english -- https://master.php.net/note/delete/109783/non-english Del: in docs -- https://master.php.net/note/delete/109783/in+docs Del: other reasons-- https://master.php.net/note/delete/109783 Reject -- https://master.php.net/note/reject/109783 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190144) next »