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: Statement result in a stored procedure

Re: Statement result in a stored procedure

From: sybrandb <sybrandb_at_gmail.com>
Date: 6 Oct 2006 03:53:10 -0700
Message-ID: <1160131990.320199.260160@i3g2000cwc.googlegroups.com>

Krzysztof Adamski wrote:
> Hi everybody,
>
> can anybody tell me how can I get result of INSERT, UPDATE or DELETE sql
> statement in a stored procedure? I mean, when I am executing statement
> it gives me some result message, like "0 rows deleted", but how can I
> get this message when I place this statement in a stored procedure?
>
> I would appreciate any advice.
>
> Thanks in advance.
> Krzysiek

Look up SQL%ROWCOUNT in your PL/SQL reference manual.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Fri Oct 06 2006 - 05:53:10 CDT

Original text of this message

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