Re: OCIRowCount for a BEGIN...END block

From: Date: Wed, 17 Apr 2002 16:48:53 +0000
Subject: Re: OCIRowCount for a BEGIN...END block
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18608@lists.php.net to get a copy of this message
Hi Pedro, There is the PL/SQL SQL%ROWCOUNT variable. Bind a PHP variable to it. "Pedro Garre" <pgarre@ijcreditor.es> wrote in message news:3CBDB905.497DD081@ijcreditor.es... > *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 ? > > Thanks. > > Pedro.

« previous php.db (#18608) next »