Re: Stored Procedure Syntax
From: Lun Wing San (Oracle) <"Lun>
Date: 1997/02/06
Message-ID: <32FA11A5.113A_at_qrcsun.qrc.org>#1/1
Date: 1997/02/06
Message-ID: <32FA11A5.113A_at_qrcsun.qrc.org>#1/1
Scott Metro wrote:
>
> Hi,
> I am transitioning from Sybase to Oracle and haven't received my help
> manual yet. The syntax for creating stored procedures seems to be quite
> different from Sybase. Can someone please tell me what the syntax would be
> to create a stored procedure that simply executes the following SQL:
>
> SELECT * FROM EMPLOYEE;
>
> In Sybase it would simply be:
>
> create PROCEDURE USP_TEST ( )
> AS SELECT * FROM EMPLOYEE;
CREATE PROCEDURE USP_TEST IS
BEGIN
SELECT * FROM EMPLOYEE;
END
--- Name : Lun Wing San Title : Oracle Application Developer of Hong Kong Productivity Council Oracle Database Administrator and System Administrator of QRC Phone : (852)27885841Received on Thu Feb 06 1997 - 00:00:00 CET