Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: # of rows affected by a SQL statement

Re: # of rows affected by a SQL statement

From: Dmitry Sirotkin <sdmitry1_at_mail.ru>
Date: Thu, 24 Feb 2000 15:55:56 +0300
Message-ID: <8939nv$d69$1@news.rinet.ru>


Hi!

> With feedback set to ON, SqlPlus will return the # of rows affected:
> update,delete,insert,select all tell you how many rows are involved...

In PL/SQL you can simply check the value of SQL%ROWCOUNT. In Delphi fE TQuery component has a property called RowsAffected.

With best wishes,
Dmitry Sirotkin. Received on Thu Feb 24 2000 - 06:55:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US