note 31484 deleted from ref.oracle by danbrown
| From: | danbrown@php.net | Date: | Fri, 28 Nov 2008 22:25:06 +0000 |
| Subject: | note 31484 deleted from ref.oracle by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147330@lists.php.net to get a copy of this message | ||
Note Submitter: john at no_gay_refereces_please dot com
----
Ok. Considering it took me about three hours to find the answer to this:
Running a stored procedure in Oracle 8i + PHP4 (explicitly).
$sql = "begin procedure_name($required_variables_string); end;";
... execute code here...
but your string should look like what is given above.
For example, if I was going to execute the following:
$sql = "SELECT * from some_table"; looks like straight SQL, vs the one above which looks
more like a PL/SQL block.
A bit gay in my opinion, but this is my 2c for those who might need to know how to execute a stored
procedure using PHP.