Re: SQLExecDirect in CALL <stored_proc>
| From: | Andreas Karajannis | Date: | Tue, 16 Jan 2001 09:29:12 +0000 |
| Subject: | Re: SQLExecDirect in CALL <stored_proc> | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5894@lists.php.net to get a copy of this message | ||
zambak wrote:
Hi This is probably a question for a core PHP developers working on ODBC.... I have compiled my php 4.0.4 against IBM DB2 libs and all is well untill i do something like odbc_exec($cid,"CALL <stored_procedure> ('arg1','arg2','arg3')"; Call fails saying it could not find certain library.....mentioning SQLExecDirect ODBC function.... The above statement should work. Could you please give the exact error message?
My questions are : 1. Does or Does not PHP 4.0.4 ODBC functions support CALL SQL statements with input/output arguments. As of now, PHP supports only input parameters.
2. Can someone give me an example on how to accomplish a CALL statement with in/out args from PHP when calling a stored procedure.... See above.
3. Are ODBC functions in PHP compliant with ODBC v3.5 specs? No, they are still ODBC 2.x-Andreas -- Andreas Karajannis mediaworx berlin AG Fon (0 30) 2 75 80 - 266 Fax (0 30) 2 75 80 - 200