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

Re: PL/SQL Problem

From: Sydney <sydney_at_i-france.com>
Date: Tue, 11 May 1999 18:59:04 +0200
Message-ID: <7h9ntp$j2n$1@wanadoo.fr>


Hi

> No, you do not have to use it. Just put anything you want to declare
between
> the AS (or IS) and BEGIN:
>
> create or replace function get_allcmd(pnumcom commande.numcom%TYPE)
return tcmd as
> type tcmd is record
> ( tnumtable numtable%TYPE,
> tnumserv numserv%TYPE,
> tnomserv nomserv%TYPE,
> tdatecom DATE,
> tmontant montant%TYPE);
> rcmd tcmd
> begin
> ...
> end;

It doesn't work. Here is the error message. Can't use a type that is declared after. Any idea?

Sydney Received on Tue May 11 1999 - 11:59:04 CDT

Original text of this message

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