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: .sql file

Re: .sql file

From: roy <roy.schultheiss_at_t-online.de>
Date: 9 May 2006 00:12:27 -0700
Message-ID: <1147158747.902908.137110@u72g2000cwu.googlegroups.com>


Dear sappi,

after processing a Statement (update, delete etc.) in pl/sql, you can get the number of rows with:

select sql%rowcount into <variable> from dual;

Then: dbms_output.put_line ('inserted ' || <variable> || ' rows successfully.');

Best regards

roy Received on Tue May 09 2006 - 02:12:27 CDT

Original text of this message

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