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: Creating a procedure and function HELP

Re: Creating a procedure and function HELP

From: gazzag <gareth_at_jamms.org>
Date: 16 Mar 2006 06:22:55 -0800
Message-ID: <1142518975.682497.4290@z34g2000cwc.googlegroups.com>


simon_s_li_at_hotmail.com wrote:
> Hi,
>
> Can anyone tell me what the difference with the keyword 'IS' and 'AS'
> when used after the declaration of the procedure of function.
>
> Example:
>
> CREATE OR REPLACE FUNCTION(val VARCHAR) RETURN VARCHAR2 IS
>
> CREATE OR REPLACE FUNCTION(val VARCHAR) RETURN VARCHAR2 AS
>
> When do you use 'IS' and when do you use 'AS'????
>
> Regards
> Simon

'IS' when what follows is PL/SQL, 'AS' when to map a Java or C method name.

HTH -g Received on Thu Mar 16 2006 - 08:22:55 CST

Original text of this message

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