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!

how to select with multicast

70836Sep 5 2007 — edited Sep 21 2007
If I define a type of object and create a view using it:
+++++++++
create view v1 as
select cast(multiset(select
m.name as mName,
m.id as mId
from mtable m as mlist) mlst
from sometable
+++++++++
is it possible for me to select the above view by using the where statement on the mName or mId?
I try this and did not work:
select * from v1 where mlst(mName) = 'a'

What should the syntax be?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2007
Added on Sep 5 2007
11 comments
2,207 views