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: Create VIEW using Procedures

Re: Create VIEW using Procedures

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: 2000/03/01
Message-ID: <38BCF883.4D7A@yahoo.com>#1/1

Ali, Shahin wrote:
>
> Is there any way that a Procedure(parameters) can be called from a View.
>
> Many Thanks
> Shahin.

It wouldn't make a lot of sense to call a procedure from a view since each view column should be returning a value. You could include a PL/SQL function in a view along the lines of:

create view my_view
select col1, col2, my_plsql_function(col3) other_col from table;

-- 
===========================================
Connor McDonald
http://www.oracledba.co.uk

We are born naked, wet and hungry...then things get worse
Received on Wed Mar 01 2000 - 00:00:00 CST

Original text of this message

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