Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

materialized view - subquery not allowed

Status
Not open for further replies.

sunarta

Programmer
May 13, 2002
3
0
0
AU

Hi all,

I've been digging this problem almost 3 days now.

I created some 'normal' views and then join them all together to create a materialized view but I got this error message:

"Subquery expressions not allowed here"

I use subqueries *only* in 'normal' views.

how to solve this?
any comments, advice really appreciated.

many thanks
anthony
 
Don't you really use subqueries in select clause of your statement? Something like select a, (select c from d) b...? If so, you may fill a new bug, though I suppose it's an old 2413838 one :)

Try this trick:

create view <view_name> as <your query>

create snapshot <another name> as select * from <view_name>

Regards, Dima
 
Thomas, in fact refresh method doesn't matter, as this error is generated during parse time before scheduling/verifying refresh procedure.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top