Skip to Main Content

Database Software

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!

Create index for a XMLType column.

681242Jan 17 2011 — edited Jan 25 2011
Hi

I have a table which has a XMLType column, the XSD is registered in DB. The XML is something like-

<primary>
<sub1>
<child1_1/>
<child1_2/>
<child1_3/>
</sub1>
<sub2>
<child2_1/>
<child2_2/>
<child2_3/>
</sub2>
<sub3>
<child31_1/>
<child3_2/>
<child3_3/>
</sub3>
</primary>

I want to create Index for child nodes. I have read that structure XML cant have collection as index it must be singleton.
So can any one tell me any workaround to create index for these node or anything i missed to read.

Thanks
This post has been answered by mdrake-Oracle on Jan 24 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2011
Added on Jan 17 2011
21 comments
784 views