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

Home -> Community -> Usenet -> c.d.o.server -> Re: Create a view using OUT values from a procedure - how?

Re: Create a view using OUT values from a procedure - how?

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Sat, 09 Oct 2004 12:38:27 -0700
Message-ID: <1097350791.821825@yasure>


Serge Rielau wrote:

> In ASNI SQL it should look something like that
>
> create type x as (a int, b int);
> create function foobar...
> returns x
> .....
> return x().a(val1).a(val2);
> ...
>
> create view v(a, b)
> as select my_x.a, my_x.b
> from (select foobar(c1) as my_x from t)
>
> I'm aware the Oracle syntax is not quite the same, but it should be
> equivalent...
>
> Cheers
> Serge

There are many ways and, of course, this is one.

But they all equire someone to make some effort on their own behalf.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Sat Oct 09 2004 - 14:38:27 CDT

Original text of this message

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