XMLTABLE - necessary help extract a single node

(Oracle 10.2.0.4)

Hello

Due to front questionable stuff, my database ends by past xml which is more or less the following format:
CREATE TABLE xml_test
(id integer,NOTEBOOK XMLTYPE);
 
insert into xml_test values (1, '<?xml version="1.0" encoding="UTF-8"?>
<Product Type=''Laptop''>
<Notebook Brand="HP" Model="Pavilion dv6-3132TX Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>4 GB</RAM>
<Example>
  <Example_sub>a</Example_sub>
  <Example_sub>b</Example_sub>
  <Example_sub>c</Example_sub>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
<Notebook Brand="HP" Model="HP Pavilion dv6-3032TX Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>6 GB</RAM>
<Example>
  <Example_sub>a</Example_sub>
  <Example_sub>b</Example_sub>
  <Example_sub>c</Example_sub>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
<Notebook Brand="Toshiba" Model="Satellite A660/07R 3D Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>4 GB</RAM>
<Example>
  <Example_sub>a</Example_sub>
  <Example_sub>b</Example_sub>
  <Example_sub>c</Example_sub>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
<Notebook Brand="Toshiba" Model="Satellite A660/15J Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i5</Processor>
<RAM>6 GB</RAM>
<Example>
  <Example_sub>a</Example_sub>
  <Example_sub>b</Example_sub>
  <Example_sub>c</Example_sub>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
</Product>');
 
insert into xml_test values (2, '<?xml version="1.0" encoding="UTF-8"?>
<Product Type=''Laptop''>
<Notebook Brand="HP" Model="Pavilion dv6-3132TX Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>4 GB</RAM>
<Example>
  <Example_sub>a</Example_sub>
  <Example_sub>b</Example_sub>
  <Example_sub>c</Example_sub>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
<Notebook Brand="HP" Model="HP Pavilion dv6-3032TX Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>6 GB</RAM>
<Example>
  <Example_sub>b</Example_sub>
</Example>
</Notebook>
<Notebook Brand="Toshiba" Model="Satellite A660/07R 3D Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>4 GB</RAM>
<Example>
  <Example_sub>c</Example_sub>
</Example>
</Notebook>
<Notebook Brand="Toshiba" Model="Satellite A660/15J Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i5</Processor>
<RAM>6 GB</RAM>
<Example>
  <Example_sub>c</Example_sub>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
</Product>');

insert into xml_test values (3, '<?xml version="1.0" encoding="UTF-8"?>
<Product Type=''Laptop''>
<Notebook Brand="HP" Model="Pavilion dv6-3132TX Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>4 GB</RAM>
<Example>
  <Example_sub>a</Example_sub>
</Example>
</Notebook>
<Notebook Brand="HP" Model="HP Pavilion dv6-3032TX Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>6 GB</RAM>
<Example>
  <Example_sub>b</Example_sub>
</Example>
</Notebook>
<Notebook Brand="Toshiba" Model="Satellite A660/07R 3D Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i7</Processor>
<RAM>4 GB</RAM>
<Example>
  <Example_sub>c</Example_sub>
</Example>
</Notebook>
<Notebook Brand="Toshiba" Model="Satellite A660/15J Notebook">
<Harddisk>640 GB</Harddisk>
<Processor>Intel Core i5</Processor>
<RAM>6 GB</RAM>
<Example>
  <Example_sub>d</Example_sub>
</Example>
</Notebook>
</Product>');

commit;

SELECT NOTEBOOKS2.*
  FROM xml_test PO,
       XMLTable('//Notebook' PASSING PO.NOTEBOOK
       COLUMNS  row_num for ordinality,
                "BrandType"    CHAR(10) PATH '@Brand',
                "ProductModel" CHAR(50) PATH '@Model',
                "Harddisk" CHAR(10) PATH 'Harddisk',
                "Processor" CHAR(20) PATH 'Processor',
                "RAM" CHAR(10) PATH 'RAM') AS NOTEBOOKS2;

        ID    ROW_NUM BrandType  ProductModel                                       Harddisk   Processor            RAM       
---------- ---------- ---------- -------------------------------------------------- ---------- -------------------- ----------
         1          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB      
         1          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB      
         1          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB      
         1          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB      
         2          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB      
         2          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB      
         2          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB      
         2          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB      
         3          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB      
         3          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB      
         3          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB      
         3          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB      
However, I need to extract the values of Example_sub - but only when there is a single Example_sub node in each / / Notebook/example, otherwise I should return null - for example:
        ID    ROW_NUM BrandType  ProductModel                                       Harddisk   Processor            RAM        Example
---------- ---------- ---------- -------------------------------------------------- ---------- -------------------- ---------- --------
         1          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB       
         1          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB       
         1          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB       
         1          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB       
         2          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB       
         2          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB       b
         2          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB       c
         2          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB       
         3          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB       a
         3          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB       b
         3          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB       c
         3          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB       d
I tried the following:
SELECT NOTEBOOKS2.*
  FROM xml_test PO,
       XMLTable('//Notebook' PASSING PO.NOTEBOOK
       COLUMNS  row_num for ordinality,
                "BrandType"    CHAR(10) PATH '@Brand',
                "ProductModel" CHAR(50) PATH '@Model',
                "Harddisk" CHAR(10) PATH 'Harddisk',
                "Processor" CHAR(20) PATH 'Processor',
                "RAM" CHAR(10) PATH 'RAM',
                "Example" VARCHAR2(3) PATH 'Example/Example_sub') AS NOTEBOOKS2;
but that just ends up with the following error (of course): ORA-19279: dynamic XQuery type mismatch: expected - singleton sequence got several sequence element

Any ideas on how I can do to get this snippet? I would like to make in a single call XMLTABLE if I can, but it is probably not possible - otherwise, I'm happy to go with another call to XMLTABLE if necessary.

Thank you.

PS. I'm on Oracle 10.2.0.4

Published by: Boneist on March 12, 2012 18:34

Published as the modified requirements.

Hello

I don' t have your trial version but this one should work:

SQL> SELECT t.id, x.*
  2  FROM xml_test t
  3     , XMLTable(
  4         '/Product/Notebook'
  5         PASSING t.NOTEBOOK
  6         COLUMNS row_num for ordinality
  7               , "BrandType"    VARCHAR2(10) PATH '@Brand'
  8               , "ProductModel" VARCHAR2(50) PATH '@Model'
  9               , "Harddisk"     VARCHAR2(10) PATH 'Harddisk'
 10               , "Processor"    VARCHAR2(20) PATH 'Processor'
 11               , "RAM"          VARCHAR2(10) PATH 'RAM'
 12               , "Example"      VARCHAR2(3)  PATH 'Example[count(Example_sub)=1]/Example_sub'
 13       ) x
 14  ;

       ID    ROW_NUM BrandType  ProductModel                                       Harddisk   Processor            RAM        Example
--------- ---------- ---------- -------------------------------------------------- ---------- -------------------- ---------- -------
        1          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB
        1          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB
        1          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB
        1          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB
        2          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB
        2          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB       b
        2          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB       c
        2          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB
        3          1 HP         Pavilion dv6-3132TX Notebook                       640 GB     Intel Core i7        4 GB       a
        3          2 HP         HP Pavilion dv6-3032TX Notebook                    640 GB     Intel Core i7        6 GB       b
        3          3 Toshiba    Satellite A660/07R 3D Notebook                     640 GB     Intel Core i7        4 GB       c
        3          4 Toshiba    Satellite A660/15J Notebook                        640 GB     Intel Core i5        6 GB       d

12 rows selected
 

If this is not the case, try this solution:

SELECT t.id, x.*
FROM xml_test t
   , XMLTable(
       'for $i in /Product/Notebook
        return element p {
          $i/@Brand
        , $i/@Model
        , $i/Harddisk
        , $i/Processor
        , $i/RAM
        , $i/Example[count(Example_sub)=1]/Example_sub
        }'
       PASSING t.NOTEBOOK
       COLUMNS row_num for ordinality
             , "BrandType"    VARCHAR2(10) PATH '@Brand'
             , "ProductModel" VARCHAR2(50) PATH '@Model'
             , "Harddisk"     VARCHAR2(10) PATH 'Harddisk'
             , "Processor"    VARCHAR2(20) PATH 'Processor'
             , "RAM"          VARCHAR2(10) PATH 'RAM'
             , "Example"      VARCHAR2(3)  PATH 'Example_sub'
     ) x
;

Published by: odie_63 on March 12, 2012 20:38 - added alternative

Tags: Database

Similar Questions

  • too many return values for a single node

    I have a table with two columns

    the table structure
    ----------------------
    string school_name type
    xmltype obj_xml

    Row1
    ----------
    abc_school,
    < student >
    < student >
    < id > 101 / < ID >
    < teacher > CBA < / teacher >
    < / student >
    < student >
    < id > 102 / < ID >
    XYZ < teacher > < / teacher >
    ONP < teacher > < / teacher >
    RSM < teacher > < / teacher >
    < / student >
    < / students >

    row2
    -----------
    def_school,
    < student >
    < student >
    < id > 301 / < ID >
    pqr < teacher > < / teacher >
    < / student >
    < student >
    < id > 302 / < ID >
    XYZ < teacher > < / teacher >
    < / student >
    < / students >


    is it possible to display data in the format using a query oracle below.
    ---------------------------------------------------------------------------------------------------
    teacher id school_name
    --------------------- ------- ------------
    abc_school 101 abc
    abc_school 102 xyz
    abc_school 102 onp
    RSM abc_school 102


    I used the slot request, throwing an error - too many return values for a single node

    SELECT school_name, teacher
    ExtractValue (value (x), ' / / key ') like student_id
    extractValue (value (x), ' / / value ') AS teacher
    SCHOOL t,.
    TABLE)
    XMLSequence (extract (obj_xml, ' / students/pupils '))
    ) x

    Please post How can I modify this query, the teacher tags may vary for each student

    Published by: user7955917 on May 8, 2012 04:00

    As mentioned in your other thread today, it would be helpful if you could post your exact version of db.
    Samples of work would be appreciated too, the XML data, you gave are not correct.

    I would do it with two XMLTables, like this:

    SQL> SELECT school_name
      2       , x1.id
      3       , x2.teacher
      4  FROM school t
      5     , XMLTable('/students/student'
      6         passing t.obj_xml
      7         columns id       number   path 'id'
      8               , teachers xmltype  path 'teacher'
      9       ) x1
     10     , XMLTable('/teacher'
     11         passing x1.teachers
     12         columns teacher  varchar2(30) path '.'
     13       ) x2
     14  ;
    
    SCHOOL_NAME                            ID TEACHER
    ------------------------------ ---------- ------------------------------
    abc_school                            101 abc
    abc_school                            102 xyz
    abc_school                            102 onp
    abc_school                            102 rsm
    def_school                            301 pqr
    def_school                            302 xyz
    
    6 rows selected
     
    
  • XML - ORA-19025: EXTRACTVALUE returns the value of a single node

    Hello

    I'm new to XML DB. Can someone help me with the below XML

    I use the following XML... (I pasted a part only of it coz I need data only up to this article)

    XML
    --------------------

    <? XML version = "1.0" encoding = "UTF-8"? > < SOAP - ENV:Envelope xmlns:SOAP - ENV = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-."
    example"container ="http://www.w3.org/2001/XMLSchema"> < SOAP - ENV:Body >
    < ns:PicklistWS_GetPicklistValues_Output xmlns:ns = "urn: crmondemand/ws/list dropdown /" >
    < ListOfParentPicklistValue xmlns = "urn: / xml/crmondemand/list of choices" >
    < ParentPicklistValue >
    < language > ENU < / language >
    < ParentFieldName > plProduct_Team < / ParentFieldName >
    < ParentDisplayValue > Marketing On Demand < / ParentDisplayValue >
    < ParentCode > Marketing On Demand < / ParentCode >
    < Disabled > N < / disabled >
    < ListOfPicklistValue >
    < PicklistValue >
    Escalation of OCP/SME < code > < code >
    Escalation of OCP/SME < DisplayValue > < / DisplayValue >
    < Disabled > N < / disabled >
    < / PicklistValue >
    < PicklistValue >
    Ask fusion < code > < code >
    Merge request < DisplayValue > < / DisplayValue >
    < Disabled > N < / disabled >
    < / PicklistValue >



    Code
    ---------




    SELECT distinct
    EXTRACTVALUE (value (SR), ' / ParentPicklistValue/ListOfPicklistValue/PicklistValue/Code ','xmlns = "urn: / crmondemand/xml/list of choices"') AS display.
    Return EXTRACTVALUE (value (SR),'/ ParentPicklistValue/ListOfPicklistValue/PicklistValue/DisplayValue ',' xmlns = "urn: / crmondemand/XML/picklist"'),.
    EXTRACTVALUE (value (SR), '/ ParentPicklistValue/ParentDisplayValue','xmlns = "urn: / crmondemand/XML/picklist"') AS parent_display,
    EXTRACTVALUE (value (SR), '/ ParentPicklistValue/ParentCode','xmlns = "urn: / crmondemand/XML/picklist"') AS parent_return
    TABLE (XMLSEQUENCE ((EXCERPT)
    WEB_SERVICE (' <? xml version = "1.0" encoding = "UTF - 8" standalone = "no"? > < envelope soap: xmlns:soap = "http://schemas.xmlsoap.org/soap/envelope/")
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" container = "http://www.w3.org/2001/XMLSchema" >
    < soap: Body >
    < PicklistWS_GetPicklistValues_Input xmlns = "urn: crmondemand/ws/list dropdown /" >
    Type < FieldName > < / FieldName >
    Service request < RecordType > < / RecordType >
    < / PicklistWS_GetPicklistValues_Input >
    < / soap: Body >
    "< / envelope soap: >.
    (' document / urn: crmondemand/ws/list dropdown /: ' GetPicklistValues, Id_de_la_session).
    "/: soap envelope / soap: Body / * / * / * ',' xmlns:soap ="(http://schemas.xmlsoap.org/soap/envelope/'))) SR "


    ERROR
    ---------

    ORA-19025: EXTRACTVALUE returns the value of a single node


    UNDERSTANDING
    ---------------------------

    As my Xpath only points until the node - ParentPicklistValue and not the child nodes under it. That's why, when I try to interview the child nodes - / ParentPicklistValue/ListOfPicklistValue/PicklistValue/Code, I get the error mentioned above.

    REQUIREMENT
    -----------------------

    Can someone help me to receive the values of the mother and child values based on xml and query above.

    Hello

    It's a classic ;)

    You need a second XMLSequence who shreds the collection of PicklistValue in relational lines:

    select extractvalue(value(sr2), '/PicklistValue/Code', 'xmlns="urn:/crmondemand/xml/picklist"') AS Display
         , extractvalue(value(sr2), '/PicklistValue/DisplayValue', 'xmlns="urn:/crmondemand/xml/picklist"') AS Return
         , extractvalue(value(sr1), '/ParentPicklistValue/ParentDisplayValue', 'xmlns="urn:/crmondemand/xml/picklist"') AS parent_display
         , extractvalue(value(sr1), '/ParentPicklistValue/ParentCode', 'xmlns="urn:/crmondemand/xml/picklist"') AS parent_return
    from table(
           xmlsequence(
             extract( WEB_SERVICE( ... )
                    , '/soap:Envelope/soap:Body/ns:PicklistWS_GetPicklistValues_Output/ListOfParentPicklistValue/ParentPicklistValue'
                    , 'xmlns="urn:/crmondemand/xml/picklist"
                       xmlns:ns="urn:crmondemand/ws/picklist/"
                       xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' )
           )
         ) sr1
       , table(
           xmlsequence(
             extract( value(sr1)
                    , '/ParentPicklistValue/ListOfPicklistValue/PicklistValue'
                    , 'xmlns="urn:/crmondemand/xml/picklist"' )
           )
         ) sr2
    ;
    

    What is your version of the database BTW?
    10.2 and upward, you can use the XMLTable.

  • Extract a specific node of XMLTYPE value

    I have a piece of code that puts an answer Google geocoding in an XMLTYPe variable.  I then use lines similar to the following to retrieve values such as address and location:

    px_xml.EXTRACT('/GeocodeResponse[1]/result['||pn_result_number||']/formatted_address[1]/text()').getstringval();
    

    It's a pretty lazy way of just looping through my results and picking a specific value.

    Now, I need to extract just the addresses zip_code of XML component and can't do in the same way.  Someone at - it ideas?

    A call to the example is:

    https://maps.googleapis.com/maps/API/geocode/XML?address=London+Eye & Bounds = 49.90878, - 7.69042. 60.88770,-0.83496 & key =

    but you need to add your own key to operate.  There are several components of the address and I just want to identify who has the type "zip_code".

    Thank you!

    It's a pretty lazy way of just looping through my results and picking a specific value.

    And what about using a more friendly approach, XMLTABLE namely:

    Extract data from complex XML of XMLType with nodes parents containing several internal nodes

    Use an XPath predicate to target only the required component, for example:

    select x.long_name
    from xmltable('/GeocodeResponse/result'
           passing px_xml
           columns
             long_name   varchar2(200) path 'address_component[type="postal_code"]/long_name'
         ) x
    ;
    
  • CARS on a single node

    Hello

    y at - it an option to install oracle on a single node grid infrastructure?

    just like a knot of oracle database

    Once you have a second node stretch cluster at 2 knots and perhaps move the database on the other node?

    or even go for complete cluster 2 nodes?

    your help is appreciated

    You are welcome!

    Please mark as answered your thread for much of forums!

    Concerning

    Mr. Mahir Quluzade

  • 12.1.3 database of single node 11.2.0.3 to node 2 RAC ASM EBS

    Hello

    We intend to convert database of system 11.2.0.3 of ordinary/local file of the single node to node 2 RAC ASM.

    Please help me in the creation of the roadmap for the same thing.

    for example

    1. create a raw file-sharing system

    2. create for ASM diskgroup

    3 convert the local file system to the first ASM

    etc, etc.

    It's the first big task so need to expert advice.

    Please refer to:

    The use of Oracle 11 g Release 2 Real Application Clusters with Oracle E-Business Suite Release 12 (Doc ID 823587.1)

    Oracle E - Business Suite Release 12 high availability Documentation Roadmap (Doc ID 1072636.1)

    Thank you

    Hussein

  • 11g Question: Stand alone database vs single node cluster

    We are about to create a new 11.2.0.3 database that will eventually become a 11.2.0.3 in cluster database. Our host servers are hardware IBM pSeries AIX 6.1 running. We will use just Oracle Clusterware and not IBM HACMP. We also plan to use ASM for database storage. The plan is ultimately to have a 2 or a 3-node cluster, but currently, we have only an AIX server available to us.

    My question concerns our initial approach to the installation.

    It is preferable to install the Oracle database as a stand-alone database first and then convert the database to a RAC cluster as soon as we have the material for the second node? Or would it be better to create the cluster with a single node and install and configure grid Clusterware for a single node cluster and then add the second node when the material becomes available?

    I apologize if my explanation is not very clear. Any notice will be considered and appreciated. Thank you.

    Hello

    We are about to create a new 11.2.0.3 database that will eventually become a 11.2.0.3 in cluster database. Our host servers are hardware IBM pSeries AIX 6.1 running. We will use just Oracle Clusterware and not IBM HACMP. We also plan to use ASM for database storage. The plan is ultimately to have a 2 or a 3-node cluster, but currently, we have only an AIX server available to us.

    My question concerns our initial approach to the installation.

    It is preferable to install the Oracle database as a stand-alone database first and then convert the database to a RAC cluster as soon as we have the material for the second node? Or would it be better to create the cluster with a single node and install and configure grid Clusterware for a single node cluster and then add the second node when the material becomes available?

    If you are planning to ACTIVE/PASSIVE here database my option:
    {message: id = 10138477}

    If you are planning in the future use a RAC database:
    {message: id = 10142640}

    If you plan use CARS in the future, you can install Oracle Clusterware without worry about licenses.
    Oracle Clusterware can serve to protect any application (reboot or otherwise on the application failure), free of charge, if one or more of the following conditions are met:

  • At least one of the servers in the cluster is allowed for the Oracle database (SE or EE)
    http://docs.Oracle.com/CD/E11882_01/license.112/e10594/editions.htm#CJAHFHBJ

    If you ARE database Oracle or EA (i.e., not one SE), you can install the product Oracle Clusterware and Oracle RAC (EE to buy the RAC Option) in a node later you can stretch clusterware adding additional nodes, and more database instance.

    You do not need to create a RAC database, you can create a single database (i.e. Non-RAC) on OH software Oracle RAC using DBCA.

    Although I prefer that you create a database of CAR Policy-Managed database... which makes the dynamics and the automatic (i.e. managed by Clusterware) creation/deletion of instances. You will use a POOL with a knot... later you can add more nodes in that POOL... Oracle Clusterware/PAP automatically create undo/redo/instances on the new nodes added to this POOL.
    All this is transparent to your customers of Oracle.

    Oracle Grid Infrastructure for a stand-alone server (Oracle Restart) is an option only if you plan used to one node. If you are using more than one node... Start with Oracle Grid Infrastructure for a Cluster (Oracle Clusterware).

    Hope this helps,
    Levi Pereira

    Published by: Levi Pereira on March 12, 2012 13:58

  • How to download other binaries uploaded in a single node

    Hi all

    We use WLP 10.2 and we were able to download a single binary file of a node using this code:

    ${models: getDownloadURL (pageContext.request, node)}.

    Source: http://edocs.bea.com/wlp/docs102/javadocjsp/content/templates/getDownloadURL.fn.html


    However, we could not upload other binary files in a single node. According to the docs, the description of the getDownloadURL function is:

    "It will take a better estimate in which the binary property is passed in the node and then return a url to the DownloadBinaryServlet that generates a URL to download the binary file that belongs to this property." This is intended to be used as value of the href property of an anchor () tag. »


    Can someone tell me how I can download other binaries uploaded in a single node?

    Your help will be very appreciated. :-)


    -Best regards,.

    Rakie

    You're close. It looks like you get the propertyID correctly, but the name binaryValue part is incorrect.

    Try something like this:

    Node programSummary =...;
    Attachment property = programSummary.getProperty ("somePropertyName");

    String url = request.getContextPath () + ' / DownloadBinaryServlet? nodeId ="+ programSummary.getId () +"& propertyId ="+ attachment.getId () +"& fileName ="+ attachment.getValue () .getBinaryValue () .getName ();

    -Steve

  • How to apply RUP6 (patch 6728000) during the installation of the single node?

    Dear

    On single node configuration, we have installed Oracle Apps R12.0.4. Now I need to apply RUP6 (patch 6728000). In what order should I apply the patch? According to my knowledge "u*.drv" type patches must be applied to both AS & DB level. I thought to do like this covered, Source Apps*.env, AS stop, mode adadmin (interview), adpatch, startAS. But DB must be up & running in this process. After that, I have to apply this hotfix on DB also stop DB &?

    Need help!

    Concerning

    Naya,

    I thought to do like this covered, Source Apps*.env, AS stop, mode adadmin (interview), adpatch, startAS. But DB must be up & running in this process.

    Fix.

    After that, I stop DB & also the application of this fix on DB?

    No, because you have already applied the patch as a user applmgr and already patched the application layer as well as the database layer. Thus, simply disable maintenance mode, start the services application, and access the application.

    Make sure that you follow all the steps in the Readme of the patch and (Note: 743368.1 - Oracle E-Business Suite Release Update Pack Readme, release 12.0.6).)

  • I have two docs pdf I used Acrobat to convert word documents.  How can I extract a single page of a doc to be inserted into the other doc?

    I have two docs pdf that I converted into Word using Acrobat Pro documents.  How to extract a single page of the first RFSO and insert it into the second doc?  When I "select all" he seized the entire document.  I need to take pages, other pages and change some of the text.

    HI djlarp,

    Try to triple - click the text you want to select - it can sometimes be difficult to select text in a document converted. If this does not work, it could be that the PDF document is created from a scanned document and OCR is not enabled when you converted the document. (However, OCR is activated by default when converting via ExportPDF site.)

    If you are unable to select text by triple-click, let us know. I'd be happy to look more closely at your files.

    Best,

    Sara

  • How can I extract a single page in pdf in a larger PDF format?

    How can I extract a single page in pdf in a larger PDF format?

    Hi extract 1 page,

    To retrieve a page of a PDF document, you must use Acrobat. If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

    Best,

    Sara

  • Is it possible to extract a single page of a multi page file?

    Hello, I am trying to extract a single page of a multi page PDF file.  Is it possible to do it with Adobe Reader?  Thank you

    No way with just the free reader. Easy with Acrobat.

  • Install a network infrastructure for a single-node Windows Server cluster

    Hello

    Can you suggest me how to install a single-node RAC Oracle 11 g on a Windows Server 2008 x 64-bit? It's for testing purposes and I do not need two nodes. I know that Linux is better, but my company uses only Windows servers. Our former consultant has been able to do, but doesn't tell us how to, this server has been lost.

    I know that to install the first grid Infrastructure. Run the installation program "Oracle Grid Infrastructure", I could install a "Grid Infrastructure for a stand-alone server" successfully. But this Grill is not a RAC database. When you try to install the database software, which is available to me to install only "single-instance database", not "Real Application Cluster installation".

    Run the installation program "Oracle Grid Infrastructure", I have tried select the option:
    'Install and configure a Cluster Network Infrastructure'-> typical Installation:
    The name of the SCAN: SRVORAC-cluster
    Validation of ANALYSIS information
    INS-40922 SCAN invalid name - insoluble in IP address.

    Is it possible to install a network infrastructure for a cluster to a single node or a node on Windows Server?

    Published by: user521219 on January 30, 2012 12:46

    Hello
    You probably misunderstanding about single-node RAC. This feature didn't need that you have only one physical machine in a RAC, this in fact means that in a CCR environment (2 or more nodes), you can run your database on a single node (single instance), and then later you can move this single instance to another node of the RAC (so that you can make some fixes on this node making your database available all the time). It also has a few other advantages, see below.

    http://www.Oracle.com/technetwork/database/clustering/overview/UG-raconenode-2009-130760.PDF

    http://docs.Oracle.com/CD/E11882_01/install.112/e25666/whatsnew.htm#sthref8

    Salman

  • Reg single node to node 2 cloning

    Hello

    My architecture is node 2 but with shared appltop.

    Now I want to clone again 2 nodes with individual appltops for both say the web and forms in a single node and simultaneous & reports in another node.

    How can I do.

    Thanks in advance,
    Krishna

    My architecture is node 2 but with shared appltop.

    Now I want to clone again 2 nodes with appltops individual to both web say & forms in a single node and simultaneous & reports in another node.

    How can I do.

    Copy the APPL_TOP even to both nodes (make sure that it is not on the shared storage) as well as the other application/database, level nodes and run postclone.

    Documentation fund quick Clone version 11i and 12 [799735.1 ID]

    Thank you
    Hussein

  • stop the cluster, database and the listener on the single node

    Salvation of DBA

    Database: 11.2.0.1
    Operating system: Solaris 10
    The RAC configuration: Multi node.

    I want to stop cluster on one node only, which query to use stop single node cluster?

    Concerning
    SG

    I want to stop cluster on one node only, which query to use stop single node cluster?

    To stop the battery Oracle Clusterware on a particular server:

    # crsctl stop cluster - n

    http://download.Oracle.com/docs/CD/E11882_01/RAC.112/e16794/crsref.htm#CHEHGGAA
    http://download.Oracle.com/docs/CD/E11882_01/RAC.112/e16795/srvctladmin.htm#i1009416

    Thank you
    Hussein

Maybe you are looking for

  • Failed to download App

    I tried to download a game (Tetris Blitz 2016) and in iTunes it says it downloaded but the app isn't anywhere to be found on my camera.  I have a lot of free memory and downloaded a lot of other applications without any problem.  How can I get it app

  • 4360 print preview

    I have a 4360 all-in-one. Is there a preview before printing in the driver? In other printers, I (Canon) there is a selection of preview before printing that allow me to see which will print before you actually print. It allows me to see how many pag

  • My computer guard shut down, and the report said "panic."?

    The computer stops regularly without promting, then automatically restarts after a few seconds. The reports said the word 'panic', as well as a bunch of stuff I don't understand. Much obliged for any suggestions as to what may be the problem.

  • Windows Explorer stops responding when you access file downloads

    I'm having a problem with the Windows Explorer does not when I try to access the downloads folder. The problem seems related to a file, a Java .exe file I downloaded. Explorer hangs up as soon as I try to do something with this file, I can't even rem

  • I just got a blank screen, lost my screensaver. But still have the sidebar. No office

    Original title: lost I just got a blank screen, lost my screen saver. But still have the sidebar. Not top of office.