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: how do i execute a stored procedure?

Re: how do i execute a stored procedure?

From: Arjan van Bentem <avbentem_at_DONT-YOU-DAREdds.nl>
Date: Thu, 15 Oct 1998 07:15:18 +0200
Message-ID: <7040d8$pgn$1@newton.a2000.nl>


Pece Najdovski wrote
>I have a databases assignemnt where we have to implement a stored
procedure
>FIND_PROPERTY(BPHONE IN NUMBER);
It seems to me that this should return some value? Then it should be a stored function, not a procedure. Show us the code, please!

>Anyone know the correct command to execute a PL/SQL stored procedure?

In SQL*Plus:

    begin
      FIND_PROPERTY(1234);
    end;
    /

or simply

    exec FIND_PROPERTY(1234)

Arjan. Received on Thu Oct 15 1998 - 00:15:18 CDT

Original text of this message

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