ORA-1706 - ways around this...

Hi people,

One interesting here for people to wonder about...

We have a fairly simple but long pattern that consists of the following elements (reduced form) elements (> 10 000)

< item id = "CF_10001C" >
< ActionsTaken index = "1" >
< ActionType > task withdrawn < / ActionType >
< DateTimeEntered > 2010-10-18T 06: 03:15.677Z < / DateTimeEntered >
< PerformedBy > Roger Rabbit < / PerformedBy >
< PerformedOperator > au_sreeksa < / PerformedOperator >
< / ActionsTaken >
< ActionsTaken index = "2" >
Task of < ActionType > < / ActionType >
< DateTimeEntered > 2010-08-25T 17: 02:09.543Z < / DateTimeEntered >
SS < details > < / details >
< PerformedBy > John Smith < / PerformedBy >
< / ActionsTaken >
< ActionsTaken index = "3" >
Task of < ActionType > < / ActionType >
< DateTimeEntered > 2010-08-25T 17: 01:26.932Z < / DateTimeEntered >
SS < details > < / details >
< PerformedBy > Arther tooth < / PerformedBy >
< / ActionsTaken >
< pzInsKey > CF - 10001C < / pzInsKey >
< / point >


There are other similar subelements of the element of main upper level and more ActionsTaken. We need to be able to filter the data a generate other output files using this information using fairly complex logic, hence the view is to convert it to the XMLTable operation according to the example below:

create or replace view actions_taken
Select case.case_id, mines.*
of xml_load.
XMLTABLE (' $doc/item ')
passage of data as "doc".
path of case_id varchar2 columns (128) "pzInsKey."
Path of XMLType «ActionsTaken» ActionsTaken
) in the case.
XMLTABLE (' $doc/ActionsTaken ')
Case of death. ActionsTaken as 'doc '.
column index number path "@subscript."
ActionType varchar2 (32) path "ActionType."
Path of varchar2 (50) DateTimeEntered "DateTimeEntered"
Detail varchar2 (4000) path "Details."
Path of varchar2 (100) PerformedBy "PerformedBy."
Path of varchar2 (30) PerformedOperator 'PerformedOperator '.
) (+) than the law;


During the processing of Oracle (10.2.0.1) throws Ora-01706 - have looked at other threads that say that this will be fixed in 11 g and everything as others on this, it is not possible to upgrade.

So the question is are there other ways to make this work (which provides a view that shows the parent key and childs, a form of relational data items), even if it means using XMLTable abandonment... FYI, some of the fields of details for example really are CLOB because they contain a text format.

Your help / comments on this are more than welcome.

Kind regards

Keith

I used for my test

xmltype.extract( d.column_value, '/ActionsTaken/Details/text()' ).getclobval()

Anton

Published by: ascheffer on November 23, 2010 23:34

Tags: Database

Similar Questions

Maybe you are looking for

  • Windows Media Center/player will not play my AVCHD videos

    I have a Canon Vixia HF R300 that came with a CD-ROM utility transfer, but not with the video ver.2 (Pixela) browser, which is supposed to work with my camera, but does not come with it and I can't find a download for it. I was able to transfer video

  • Q10 Q10 blackBerry does not connect to my WiFi at home

    My new Q10 see my protected WiFi password but authentication times out when I try to connect.  As a sidebar, I'm alse unable to connect my wireless HP printer and have been told it is because of Mac settings to the printer.  My printer and telephone

  • &lt; category &gt; does not work in blackberry - tablet.xml

    In the playbook Simulator, my application is displayed in the category 'all' applications, even if I am in blackberry - tablet.xml, it's category has utility value.  Adding an icon and all other parameters in xml file work again.  Here's what's in my

  • Gateway FHD2400 Analyzer unidentified in Win 7 64

    After a catastrophic accident, I had to reinstall Windows. The system is recognizing the monitor, but it is to identify as "General Non - PnP", and the native resolution (1920 x 1200) is not available. When it is connected to the on-board video the s

  • C40 camera

    Hello I need to order a camera for C40, which do I order = 1080P12XS-PHD-CTS or CTS-PHD1080P12XS2 = Kind regards Aastha