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!

Calling a function from a view

xxsawerMar 27 2012 — edited Mar 28 2012
Hello I have following question:
I am creating some view and I need to call a PL/SQL function from it. I would like to know if there is some difference between these two variants
CREATE OR REPLACE FORCE VIEW TEST_VIEW
AS
SELECT Package_Name.Function_Name(Some argument)
FROM
...
and
CREATE OR REPLACE FORCE VIEW TEST_VIEW
AS
SELECT (SELECTPackage_Name.Function_Name(Some argument) FROM DUAL)
FROM
...
Thanks for advice.
This post has been answered by 32685 on Mar 27 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2012
Added on Mar 27 2012
9 comments
5,801 views