Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can you access a table function from a view?

A_CS_GUYJul 5 2016 — edited Jul 6 2016

Hello Guru!

I wanted to know if accessing a pipelined table function from a view is ok.

I have created a view that calls a table function in the following way.

create or replace force view hoppin_view(location, phone_number) AS

Select location, phone_number from table(hoppin_view_function));

It compiles and seems fine. It also has the following dependencies

  1. hoppin_view_function
  2. hoppin_type

The function compiles and is happy.

In the package I call upon it and everything seems fine, I place the results in a local defined holder.

The issues is when I try and access the contents of the local holder, it seem I cannot.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2016
Added on Jul 5 2016
14 comments
2,160 views