| ADOdb Library for PHP Manual | ||
|---|---|---|
| Prev | PrepareSP | Next |
When calling stored procedures in mssql and oci8 (oracle), and you might want to directly bind to parameters that return values, or for special LOB handling. PrepareSP() allows you to do so.
Returns the same array or $sql string as Prepare( ). If you do not need to bind to return values, you should use Prepare( ) instead.
The 2nd parameter, $cursor is not used except with oci8. Setting it to true will force OCINewCursor to be called; this is to support output REF CURSORs.
For examples of usage, see Parameter().
Note: in the mssql driver, preparing stored procedures requires a special function call, mssql_init( ). PrepareSP( ) is available in all other drivers, and is emulated by calling Prepare( ).
| Prev | Home | Next |
| Prepare | Up | Parameter |