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!

WITH Clause not working in 11g

user527460Aug 26 2014 — edited Aug 26 2014

Hi All,

I am running this query via PL/SQL developer in 11g but it is not showing me data.

     with aquery as (select c1, c2 from t1 where c2  = 20130101)  select * from aquery;

However, when I run only this SELECT then it retrieves the output.

     select c1, c2 from t1 where c2  = 20130101

The db user has both CREATE MV and CREATE Table privileges in this database.

Thanks.

This post has been answered by John Spencer on Aug 26 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2014
Added on Aug 26 2014
8 comments
2,645 views