Re: OCIRowCount for a BEGIN...END block
| From: | Thies C. Arntzen | Date: | Wed, 17 Apr 2002 16:05:44 +0000 |
| Subject: | Re: OCIRowCount for a BEGIN...END block | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18610@lists.php.net to get a copy of this message | ||
On Wed, Apr 17, 2002 at 01:03:49PM -0500, Pedro Garre wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hi,
>
> OCIRowCount does not seem to work when "inserts" are made in a block:
> BEGIN insert ...; insert ...; insert ...; END;
>
> It returns 1, but 3 rows have actually been inserted.
>
> How can I get the correct number of rows inserted ?
no idea. ocirowcount mappes 1 to 1 to the underlying oci
call. read the oracle-docs, if you find a way to get your
desired count back, i'd be glad to implement it in PHP.
re,
tc