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: Function Returns a Recod Datatype

Re: Function Returns a Recod Datatype

From: damorgan <damorgan_at_exesolutions.com>
Date: Fri, 06 Dec 2002 16:40:28 GMT
Message-ID: <3DF0D2FA.32460AF4@exesolutions.com>


"Mário Rui Romero" wrote:

> Hi,
>
> I have a suspiction i would like to confirmate:
>
> ORACLE doesn't support a SELECT statement that invokes a function
> returning a Record datatype.
>
> example:
>
> SELECT fc_01(parameter1).namecolumn FROM Dual;
>
> I get the message that FROM clause is not were it was supposed to be.
>
> My conclusion is that Functions returning these kind of datatypes are
> only usefull in other functions!!
>
> Is this correct!?
>
> Thank you all.
> MRR.
Correct. The goal can be accomplished but not in the way you are doing it.

Are you doing this in a procedure or in SQL*Plus at the command line?

Daniel Morgan Received on Fri Dec 06 2002 - 10:40:28 CST

Original text of this message

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