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: Problem running PL/SQL Procedure

Re: Problem running PL/SQL Procedure

From: Ana C. Dent <anacedent_at_hotmail.com>
Date: Sun, 03 Aug 2003 19:27:22 -0700
Message-ID: <iwjXa.34731$Ne.21746@fed1read03>


Sanna B wrote:
> Hi all,
>
> I am a newbie, trying to run this procedure and get Invalid Procedure
> error.
>
> The procedure compiles without errors and returns the number of
> records as required. When attempting to execute - I get errors. Any
> ideas?
>
> Thanks,
> Sanna
>
> (Running 8i - pl/sql 8.1.7.0.0)
>
> here's the script:
> ---------------------------------------------------
> --comments start here
> --set serveroutput on
>
> create or replace proc testSB
> is
>
> declare
>
> vcount number;
>
> begin
>
> SELECT count(*) into vcount from testdba.test;
>
> dbms_output.put_line('count records:'||vcount);
>
> end;
> /

commit;
/ Received on Sun Aug 03 2003 - 21:27:22 CDT

Original text of this message

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