Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: PL/SQL 8.1.6 : RETURNING CLAUSE problems

Re: PL/SQL 8.1.6 : RETURNING CLAUSE problems

From: Alexander I. Doroshko <aid_at_grant.kharkov.ua>
Date: 2000/07/20
Message-ID: <8l6d71$oh0@grant.grant.UUCP>#1/1

Are You sure it is the RETURNING CLAUSE problem, not that of the RETURN CLAUSE absence in Your FUNCTION definition?



Alexander I. Doroshko, Bank "Grant", Kharkov, Ukraine aid_at_grant.kharkov.ua
Lachlan Pitts <Lachlan_Pitts_at_softworks.com.au> wrote in message news:3976492d_at_grissom...
> Any ideas what is wrong with this picture?
> It compiles but at runtime complains of "SQL Statement not ended";
>
> FUNCTION domainWriteQuery
> (
> pnValue IN NUMBER,
> pnNewKey OUT NUMBER )
> IS
> BEGIN
> INSERT INTO T_TABLE( K_KEY, V_VALUE )
> VALUES ( SEQ_TABLE.NEXTVAL, pnValue )
> RETURNING K_KEY INTO pnNewKey;
> END domainWriteQuery;
Received on Thu Jul 20 2000 - 00:00:00 CDT

Original text of this message

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