Creating views for DB XML content in Oracle 9i (9.2.0.4.0)

Hello

Please excuse my ignorance but I searched on through reams of documentation on Oracle XML DB and is extremely difficult to get information about a specific version when it evolved as radically. I develop on Oracle 9.2.0.4.0 (I'd be happy to upgrade but unfortunately my clients are less enthusiastic!).

My questions are how and why I would create views of the XML data to use in my application. I made a snippet of XML data (according to an XSD) that I need to load into the database and then provide view in read-only data. I managed to save my drawings and insert the XML into the underlying structures of the object relationship and I now need to create views.

For as much as I can muster in 9i I must query XML data using extractValue, for example:
 
SELECT extractValue(xseq.column_value, '//ReferenceNumber') REFERENCE 
     , extractValue(xseq.column_value, '//ProviderName') PROVIDER_NAME 
FROM   EXTRACT e 
     , TABLE(XMLSequence(extract(VALUE(e), '//Registration'))) xseq; 
I also managed to get the same results by directly accessing the column 'hidden ': XMLDATA
 
SELECT xml."ReferenceNumber" REFERENCE, xml."Provider"."ProviderName" PROVIDER_NAME 
FROM   EXTRACT e 
     , TABLE(e.xmldata."Registration") xml 
Issues related to the:
(i) they are the only options I have to access the XML data in Oracle 9i? (XMLTable() looked quite interesting, but was unfortunately introduced in 10g)
(II) given that I only need a read-only view of the data, are there benefits (other than speed) to be stored in object-relational tables as opposed to a CLOB?
(III) is there a problem using the second method (cleaner) in relation to the first?

Thanks a lot for you help,

Tom Casserly

(I) Yes. I'm sorry.
(II) speed is the main advantage for storage GOLD regarding lead content (instead of CLOB--> pilot document by) queries. Other things I can think of is that it comforms to an XML schema, which is an advantage (you know that obey your XML file is the format defined) and a disadvantage (validation / grinding / and internal indexing off XML data will cost you performance).
(III) it is (I think) not supported, less efficient then TABLE (XMLSequence (extract ()))

Tags: Database

Similar Questions

  • CREATE VIEW for several tables

    Hello

    I have a lot of tables, each of them containing a serial number field, each number is unique all the tables.

    I need a notice like this:
    SERIAL_NUMBER  |  TABLE_NAME
    ----------------------------
    1              |T1
    2              |T2
    3              |T3
    4              |T1
    5              |T1
    6              |T4
    What is the best way (SQL) to create this view?

    Thanks in advance!

    Maybe something like this:

    create or replace view my_view as
    select serial_number, 'T1' table_name from t1 union all
    select serial_number, 'T2' table_name from t2 union all
    select serial_number, 'T3' table_name from t3;
    
  • How to create views in OBIEE?

    Hello world

    I'm new to OBIEE. My requirement is I have to apply different filters each column in a report. But if I apply no matter what filter it is the application of all the columns.

    For example, the column of my report is something like

    StudentsPassed | StudentsFailed | StudentsTrasnfered

    So I need pick up on a column in the State and need not to show that a particular result based on the status column. But if I select for status = StudentsPassed then all three columns im getting only students passed.


    So what I have is that I have created individual views for each column. IE View1 held that the list of students managed view2 held only the list of students failed. But now I need to generate multiple reports of the same type. So, I don't think it's a better idea to create views for each column in a database level report.


    Is there a method to do this?

    Is there a method to store only students Passsed list in a logical column in the level of the Administration?

    Please provide help.

    Thanks in advance,
    knani

    1. This is what you're doing wrong:

    New column object/logic/general tab/use existing logical column as a source.

    and you choose the column RULE and writing COUNT (DISTINCT RULE)

    and after registration/check, you will receive ERROR:

    [38083] of the attribute "MEASURE1" defines a measure by using an obsolete method.

    You do not MEASURE1 set on the way that you did.

    2. you define MEASURE1 on this way:

    Type of new object/logic tab/data tab General/column

    Now in the tab type of data go to a logical source/edit/measure1 table and select the RULE table to part PHYSICAL TABLE column.

    After that in your logical column MEASURE1 aggregation type choose COUNT DISTINCT.

    That's all.

    This will give you COUNT (DISTINCT RULE).

    3. put the MEASURE1 in record presentation/table with CAT, RULE, and STATUS columns

    4. test answers

    FILTER (CAT_RULE_STATUS. MEASURE1 TO AID (CAT_RULE_STATUS. STATUS = 1))

    FILTER (CAT_RULE_STATUS. MEASURE1 TO AID (CAT_RULE_STATUS. STATUS = 2))

    FILTER (CAT_RULE_STATUS. MEASURE1 TO AID (CAT_RULE_STATUS. STATUS = 3))

    Result:
    2 2 1

    It's okay, you see how many separate RULES are inside each State (see our example with data).

    I did physical table (select) to this case:

    Select 1 as cat, 1 rule, 1 the status of double
    Union of all the
    Select 1 as cat, rule 1, 2 the status of double
    Union of all the
    Select 1 as cat, rule 1, 3 that the status of double
    Union of all the
    Select 1 as cat, 1, 2 as a rule that the status of double
    Union of all the
    Select 1 as cat, 2 2 status of double rule

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Privilege 'Create View' has been removed from the role of "Resource" why Oracle?

    Sounds like a silly question, but does anyone know why?

    >
    HM... deprciated and replaced by what? I know that they trimmed CONNECT much but only create view seemed lacking in RESOURCES.
    >
    Replaced by NOTHING. They have not just 'trim' CONNECT. He now has only the CREATE SESSION privilege.

    Published only info I've seen are these two notes in the Oracle is the database of the Security Guide.
    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/authorization.htm
    >
    Note:
    Each facility must create its own roles and assign only those privileges which one needs, so to keep detailed privileges in use control. This process eliminates also any need to adapt existing roles, privileges or procedures, whenever the Oracle database changes or removes the roles of Oracle database sets. For example, the role CONNECT now has only a single privilege: CREATE THE SESSION. CONNECT roles and resource will be deprecated in the future the Oracle database releases.
    . . .
    Note:
    Visitors should stop by using the CONNECT and RESOURCE roles, because they will be obsolete in future versions of database Oracle. The role of CONNECTION currently maintains only the CREATE SESSION privilege.

  • Error downloading folio for iPad via Content Viewer

    Hello

    I'm having issues, get the folio to download on the Adobe Content Viewer for iPad app... whenever I get this message "folio download error. Please try again later. »

    I built a folio of single-app:

    1024 x 768

    Version of the Viewer: 20

    Orientation: Horizontal

    PDF format

    Adobe InDesign CS6 with the latest tools and folio Builder

    The folio consists of a single article with a page that contains two video files (two vignettes that play in full screen when it is turned on)

    10.8.2 OSX

    I have an iPad 2 and iPad 3rd generation I have Adobe Content viewer on iOS 6 (latest version)

    I tried to remove the application viewer content and re - download a new version, I tried to completely rebuild the folio from scratch, I also created a new username Adobe with an expense account to try the folio with... and each time it downloads fine without error... but refuses to download on the iPad.

    Can someone tell me what I am doing wrong or what I should try?

    Doesn't sound that you do something wrong at all. It could be due to performance issues on our servers that create problems to download large files. Here are a few things you can try:

    • If the folio is not already published, republish it as private. Downloads of published folios are often faster.
    • Try to create two sections each containing a video. Download plus two small files is generally better than downloading a large file.

    If it still does not respond, you can share the folio with [email protected] and I'll be happy to take a look.

  • Update Content Viewer for Blackberry Playbook

    When will it be available for Blackberry Playbook Content Viewer 2.2.0.  We built a folio of test, but when trying on a Playbook we receive an error message asking "Please update your application.  The version on the Playbook is 2.1.1.  We note that, on our IPad version is now 2.2.0

    Unfortunately, the tools v17 introduced changes that cause erratic behavior, with videos on the PlayBook. A viewer of updated content will not be displayed until these issues are addressed. To create a PlayBook app, use a previous series of producer Folio tools. Links to archived tools are located in the help system topic:

    http://help.Adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-21ba9a4512e5e5e0b8d-7 ffe.html

    When you use the viewer Builder to create the application, choose v16 'Version '.

  • The course that I did for the OCP certification in Oracle Database 11 g does not appear on the list of courses on the pearson Web site view.

    The course I did for the OCP certification in Oracle Database 11 g does not appear on the view list of courses on the pearson Web site, I sent an email to [email protected] < deleted by the moderator e-mail address > , no response within 7 days since 01/28/2015, enamel is lower, the title of my course is in Portuguese.  What should I do in this case?

    ------------------------------------------------------------

    Dear Oracle.

    I send you this mail because recently I passed the exam 1Z0-053-Oracle Database 11 g: Administration II, which is the last review necessary to acquire the OCP Certification. However, in the path to certification, I need to prove that I participated in an official Oracle training.

    Research for the course on the site to view pearson, I did find the name of course on the list. So I'm sending you this email with the courses required for certification information. I attended the course at FIAP College (http://www.fiap.com.br/en/conheca-a-fiap/parcerias-estrategicas/), in the city of São Paulo (Brazil) of March, 2010 until March 2011. The above link is possible to check that the University is a partner of Oracle. The title I had was "Graduate in Oracle Database Management".

    In this e-mail, I have attached a copy of the certified course FIAP (front.jpg, certificate Back). I also send my profile data in the site view pearson (Pearson VIEW - my profile.pdf) and my scores on tests for certification of OCP (1Z0 - 051.pdf, 1Z0 - 052.pdf, 1Z0 - 053.pdf).

    If you need additional information just let me know and I'll give you.

    Please acknowledge this information and give me the OCP certification (Oracle Database 11g Administrator Certified Professional).

    Kind regards.

    Italo Moises dos Santos.

    Oracle ID: < deleted by the moderator test >

    ------------------------------------------------------------

    I did this way, because the https://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP link has not worked, I sent my class even without knowing if it will be accepted, so I exchanged a few emails and my journey has been accepting.

  • Is Adobe Content Viewer for SDK WEB always supported in 2015 DPS?

    Is Adobe Content Viewer for SDK WEB always supported in 2015 DPS?
    Thank you!

    Hello

    We are working on a new web viewer for 2015 of DPS. It isn't quite ready yet, but should be available in beta later this year.

    Neil

  • How do I access the content viewer for preview of the interactive features before you build a custom Viewer?

    Hi there, bit of a newcomer to this, trying to teach some aspects of digital Editions and find my way through. How do I access the content viewer for preview of the interactive features before you build a custom Viewer?

    Download from the Marketplace for your device (iTunes, Google Play, Windows Store).

    You might find our useful post learning resources: https://forums.adobe.com/thread/994742.

    Neil

  • text is fuzzy inside the cursor object, only in the Viewer for android, only the latest content

    After the upgrade to the new Adobe Content Viewer for Android, text inside a sliding pixelated of blurred subject become. It looks exported with high compression JPEG.

    The same folio posted on the old version of hovercraft for Android (and also on iOS) is OK.

    Changing the settings of export of the object in inDesign are no effect.

    Someone has experienced this problem?

    For a discussion on this issue and the two workarounds, see Android - frame scrolling adding shadows .

    Neil

  • Create the file prov.xml of origin for Provisioning Toolkit Enterprise?

    How to create the file prov.xml of origin to be used with the Setup Toolkit Enterprise? This is intended to resovle the question with serialization of deployments of Creative Enterprise Cloud break during imaging. Several people reported trying to reserializing with PTE.

    Hi msdavidson,

    Follow this KB for Adobe Provisioning Toolkit article.

    http://helpx.Adobe.com/creative-cloud/Packager/Provisioning-Toolkit-enterprise.html

    Hope it meets your request.

    Kind regards

    Abhijit

  • new adobe content viewer for iPad will not work with v23

    Hello

    I try to use v23 to my publication and when I try to see in the ipad... Show me a pop up tells me I don't have a good version of happy viewer for v23 I have ipad

    I re - install the player adobe content to the new version and still does not work

    Any idea?

    Apple has not yet validate the content viewer Adobe V23 version.

    See here for more information http://caniupdateadobedps.com/

  • zip file to create diagrams for Oracle and Oracle Discoverer Portal

    Hello everyone.

    Im trying to install WebLogic for forms and reports under linux,
    I need the zip file to create diagrams for Oracle and Oracle Discoverer Portal
    to run the rcu scrip.

    Can someone send me the link where I can find it?

    Thanks to advanced & happy new year to all.

    If you are a developer of FMw 11 g installation, you need not configure the portal or the discoverer, unless of course you plan to use these products.

    When I installed and configured the FMw 11 g, I followed the * how to install Fusion Middleware 11 g forms and reports only [854117.1 ID] * (available via My Oracle Support). WLS and FMw share the Directory Home of Middleware. I accepted directories default installation (\Oracle\Middleware\) and WLS installed in \Oracle\Middleware\wlserver_10.3 and FMw installed at \Oracle\Middleware\Oracle_PFRD, and the Instance of forms at \Oracle\Middleware\instances\ft_inst. More Doc ID 854117.1, I chose only the following for installation in step "configure the components:


    • Server - Oracle Forms and Oracle reports components
    • Developer - Oracle Forms Builder and Oracle report builder tools
    • Management components - Enterprise Manager
    • The system - Oracle HTTP Server components

    IM thinking I have need save the fmx in a directory of this tree and also the FMAS and configure ther formsweb agreeing with that.

    It is not necessary. All you have to do is add the Variable environment of FORMS_PATH (EV) and include the directory where your files .fmb and .fmx will be created. This EV indicates forms where to find your forms Modules and libraries of forms (.pll/.plx) you can use in your forms.

    The usefulness of the repository creation (RCU), you can download it here: http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Just scroll down for the * @ section additional software required and there is a separate download.

    Craig...

  • I NEED FOR PDF FILES TAG AND CREATING A SEARCHABLE TABLE OF CONTENTS

    I have NEED OF TAG PDF FILES to CREATE A SEARCHABLE TABLE OF CONTENTS.

    How DO I?

    You can't with Adobe Reader. Acrobat would be the tool.

  • Adobe content viewer for windows 7 or 8

    I can't find Adobe viewer for windows

    For a Tablet? There is none.

    For desktop PC? You must install the DPS Office Tools.

    Bob

Maybe you are looking for