#11468 [Com]: Cannot execute stored procedures
| From: | mike at mk-sys dot cz | Date: | Fri, 03 Jan 2003 22:39:57 +0000 |
| Subject: | #11468 [Com]: Cannot execute stored procedures | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29017@lists.php.net to get a copy of this message | ||
ID: 11468
Comment by: mike@mk-sys.cz
Reported By: Vladimir.Michl@seznam.cz
Status: Bogus
Bug Type: InterBase related
Operating System: Win32, Linux
PHP Version: 4.0.5
New Comment:
This feature is still missing in PHP 4.3.0. Patch is available and
working (I am using it for more than one year by now). Is there a
reason why this should not be implemented?
Previous Comments:
------------------------------------------------------------------------
[2002-08-13 23:49:58] iliaa@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2002-02-13 12:12:47] Vladimir.Michl@seznam.cz
Stored procedures may be executed, but if stored procedure return some
data, I don't want how to get it.
Yes some way is by select SQL command and SUSPEND in procedure, but it
is not ideal way.
May someone tell me how do it?
------------------------------------------------------------------------
[2001-06-13 12:25:03] Vladimir.Michl@seznam.cz
Hello,
when I wrote some scripts that inserting some data to database, I must
call stored procedures
for getting some data (typically id from generator). I want
execute stored procedures, that return next row id.
I add some code to interbase PHP module, that support execution of
stored procedures.
With my patch, procedure is executed by
$res = ibase_query($db, "execute procedure procedure_name");
$row = ibase_fetch_row($res);
In $row is row returned by procedure.
Patch may be found on http://www.penguin.cz/~michlv/software/phpibase/
If any question write me.
Vladimir Michl <Vladimir.Michl@seznam.cz>
PS: Patch is ported from 4.0.3pl1 where is functional.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11468&edit=1