Biztalk and ddl from Oracle

I have a number of vendor databases with this same data in slightly different formats (some mssql 2008 som oracle 11g).
What i need to do is try to map from all these data sets to an authoritative one . For instance DataSet1 from MSSQL2008 might contain a Dr. billing number but the billing address is their home address not the clinic address which I would get from DataSet2
ona Oracle 11g data base for instance. Is there a way in biztalk to aggregate this data from these dispariate datasources and build an autoratative datasset in BT?
Currently I have all the relevant datasets defined in DMD format in Oracle  SQl data modeler format is there a way to import that into BT and "link" the relevant fields?

What you need to do is to convert your DMD into an XSD. The common representation will become the "common" schema. You will use this to build the process/orchestration/action for handling th Data.
Then for every database you need to connect to, you will use the BizTalk Add Adapter Services (through VS) to generate DB instance specific schema. You will then create a MAP (for each unique instance) where you will map elements from the specific DB instance
into the "common" schema. You will then create One Receive Port will multiple receive locations (every time you use Add Adapter Services, BizTalk will generate a Binding file for you which can be used to create the receive ports/locations). The MAP will need
to be assigned to the Port.
So when BizTalk will get the data from the specific database, the XML will be matched to the appropriate MAP which will convert it into a standard (common) representation.
Regards.

Similar Messages

  • Importing Reports and Forms from Oracle to Portals

    Hi,
    I have read somewhere that it is possible to import all ready created reports and forms from Oracle and view them as a Portlet in Portals. Is this actually possible and if so where do I begin??
    Could there be an issue with rights, this is all new to our DBA and we have only just got permission to publish forms created in Portals to the repository. Any ideas??

    941175
    Welcome to the forum. Please take a while to go through the FAQ to be found to the top right of the page.
    Your issue is more to do with batch files rather than Forms. The only relation with Forms, as I see it, is that you will be using HOST/CLIENT_HOST to start a batch file with the file name to be deployed as a parameter passed to it.
    You need to rewrite either a CMD batch file or a Powershell script to achieve what have set out to do.
    For CMD batch files look up http://www.robvanderwoude.com/battech.php , or any of the other excellent resources available on the internet.
    Regards,

  • Options of fetching mails from mail server into PI and also from oracle system

    hi All,
    Pls extend your help in looking out the possiblity of fetching mails from mail server into SAP PI
    and also from oracle system into PI ,earliest help would be appreciated.
    and also the types of sources for both the scenarios.
    Regards
    Vidya Sagar Manda

    Hi Vidya,
    you can use the email adapter to read/pick up email from mail box.
    and use JDBC adapter to read data from table of any database. Please refer the links given to your old thread
    Fetch Mails From MailServer using PI and integrate the message into BPM
    regards,
    Harish

  • Export tables and records from oracle 8i to oracle 10g

    hi,
    i had installed oracle 10g, but i want to export my tables and record from oracle 8i to oracle 10g.
    can you tell me

    Please have a look to Using Different Releases and Versions of Export in Utilities document.

  • Populator not working after deleting model and items from Oracle cofigurator.

    I had created a ATO model, and populated it to the Configurator, worked with it, created UIs, tested with OM (and BOM) worked alright.
    But, I had to delete the items and models in the Configurator as my playing around had messed it up. Now I populated it again from Oracle Apps, it is not bringing in the items (none at all) and it is not bringing in the options for option classes more then two level deep. Also, weirdly only the descriptions keep appearing in the Model tree node not the name, even if I choose it in the tree. I tried running purge configuraotr tables.
    Do you have any idea why this is happening. Any help would be appreciated.
    Thank you again.

    First, back up your Mac. To learn how to do that read Mac Basics: Time Machine backs up your Mac
    Then:
    Launch the Console app - it is in your Utilities folder. You can find it by selecting Utilities from the Finder's Go menu.
    If the log list column on the left is not already displayed, show the log list by selecting Show Log List from Console's View menu. Select Show Toolbar if it is not already shown.
    Locate system.log in the list and select it. Many date and time-stamped entries will appear, hundreds of them, and you must find the entries relevant to your Mac's problem.
    To do that click the Clear Display button in the Toolbar. All previously displayed log entries will reappear.
    Next: Perform whatever actions cause the Mac to exhibit the slow behavior. If the problem is caused by errors logged by the system, the Console window will show them being recorded in system.log.
    One or more of them, along with their time stamps, may reveal the reason for the problem you describe.
    Copy and paste those log entries in a reply. If hundreds of the same repetitive messages appear, please edit them before posting. There should be no need for more than 100 or so total log entries.
    Most of the entries will be cryptic but will contain information you might consider personal such as your Mac's name. If you do not want that information to appear, delete or obscure it when posting your reply. Leave enough information so that the entries can be deciphered.

  • Copy and Paste from Oracle Forms to Excel

    Hi to All,
    I ran into this unusal problem with one user. She is trying to copy data in a cell from oracle form to excel. She does control+c and tries to control+v in excel. The data does not get pasted.
    I tried logging into oracle on her pc and do the same method. I get the same results.
    We tried copy from the menu bar in oracle and go into excel , menu and do paste. And it does not paste.
    I did a test from copy from word document to excel...that worked.
    We tried a different pc and everything worked.
    Is there a setting in oracle when i do a copy that is not copyin the cell correctly. Any tips how to resolve this problem.
    Thanks in advance for help in this matter.

    If it only happens on one PC, then usually there is a problem with the PC showing the "yellow bars" when logging into Oracle Forms. Otherwise, there is a more global problem with unsigned JAR files on the server.
    Unable To Copy And Paste Text To Desktop Applications From Core Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=434038.1
    Cannot Cut, Copy, or Paste from a Desktop Application into Oracle Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=168280.1
    Cannot Perform a Copy and Paste from release 12.0.4 from or to Excel
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=735670.1

  • Importing all tables and users from Oracle 8i database to Oracle 10g

    Hi friends,
    It would be highly appreciated if someone would kindly advise steps needed to
    import full Oracle 8i database ( with all users, tables, table spaces
    and other components ) to Oracle database 10g .
    Thanks and regards

    hi
    ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
    simple give cmd>exp cmd if u want exp complete database from oracle 10g..
    if u have any problem go reference oracle database utilities ....
    and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
    i hope u do ur work successfully...
    regards
    Mohammadi

  • Generate XML file with Elements and attributes from Oracle table

    Hi,
    I have the following table structure.
    CREATE TABLE COIL
    COIL_ID                         NUMBER(10),
    COIL_NUMBER                    VARCHAR2(40),
    COIL_PO_OPERATING_UNIT     VARCHAR2(20),
    COIL_PO_NUMBER               VARCHAR2(40),
    MILL_NUMBER                    VARCHAR2(2),
    MILL_COIL_STATUS          VARCHAR2(15),
    ITEM_NUMBER                    VARCHAR2(40),
    COIL_WEIGHT                    NUMBER(38),
    WEIGHT_UOM                    VARCHAR2(10),
    DOCUMENT_NUMBER               VARCHAR2(40),
    DOCUMENT_DATE               DATE,
    DOCUMENT_STATUS               VARCHAR2(15),
    DOCUMENT_TYPE               VARCHAR2(20),
    DOCUMENT_SOURCE               VARCHAR2(20),
    TEST_ID                         NUMBER(38),
    VALUE                         NUMBER,
    TEST_UOM                    VARCHAR2(20),
    TEST_STATUS               VARCHAR2(70),
    TESTER_LOGIN               VARCHAR2(20),
    EQUIPMENT_CODE               VARCHAR2(50),
    DOC_STS_MSG               VARCHAR2(600)
    For each COILID record, there could be multiple records baased on TEST_ID/VALUE/TEST_UOM etc.
    And I would like to prepare xml file in the following format by selecting data from COIL?
    <?xml version="1.0"?>
    -<Coil xsi:noNamespaceSchemaLocation="www.tempel.com/COIL.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb="http://xmlns.oracle.com/xdb">
    <CoilId>1419532</CoilId>
    <CoilNo>D2221050010A0</CoilNo>
    <CoilPOOperatingUnit>Changzhou</CoilPOOperatingUnit>
    <CoilPONo>4619</CoilPONo>
    <MillNo>86</MillNo>
    <MillCoilStatus>Test</MillCoilStatus>
    <ItemNo>050FP800 C5</ItemNo>
    <Weight>7076</Weight>
    <UOM>KILOGRAM</UOM>
    <DocumentNo>0</DocumentNo>
    <DocumentDate>2013-01-11</DocumentDate>
    <DocumentStatus>NonProcessed</DocumentStatus>
    <DocumentType>Tests</DocumentType>
    <DocumentSource>CHIGMA1</DocumentSource>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4992" TestUnit="mm" Status="NonProcessed" TestId="135"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.0128" TestUnit="mm" Status="NonProcessed" TestId="124"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="12" TestUnit="mm" Status="NonProcessed" TestId="125"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5095" TestUnit="mm" Status="NonProcessed" TestId="127"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5042" TestUnit="mm" Status="NonProcessed" TestId="128"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5058" TestUnit="mm" Status="NonProcessed" TestId="129"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4967" TestUnit="mm" Status="NonProcessed" TestId="130"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5049" TestUnit="mm" Status="NonProcessed" TestId="131"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4972" TestUnit="mm" Status="NonProcessed" TestId="132"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4960" TestUnit="mm" Status="NonProcessed" TestId="133"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4996" TestUnit="mm" Status="NonProcessed" TestId="134"/>
    </Coil>
    Can you please guide me how to do it in a single query?
    Thanks in advance.

    Hi Odie,
    Thanks for the quick offer.Sure,No problem.I expect the format to be as follows
    <Coil xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="www.tempel.com/COIL.xsd">
    <CoilId>97239</CoilId>
    <CoilNo>777078</CoilNo>
    <CoilPOOperatingUnit>TSUSA</CoilPOOperatingUnit>
    <CoilPONo>3407</CoilPONo>
    <MillNo>31</MillNo>
    <MillCoilStatus>Test</MillCoilStatus>
    <ItemNo>0140SP150 C5A</ItemNo>
    <Weight>17365</Weight>
    <UOM>POUNDS</UOM>
    <DocumentNo>0</DocumentNo>
    <DocumentDate>2008-10-13</DocumentDate>
    <DocumentStatus>Processed</DocumentStatus>
    <DocumentType>Tests</DocumentType>
    <DocumentSource>MILL</DocumentSource>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="84" TestUnit="15T" Status="Processed" TestId="65"></Tests>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="1.39" TestUnit="W/Lb" Status="Processed" TestId="48"></Tests>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="1979" TestUnit="W/Lb" Status="Processed" TestId="49"></Tests>
    </Coil>
    But instead it came with below format
    <Coil xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSch
    emaLocation="www.tempel.com/COIL.xsd"><CoilId>97239</CoilId><CoilNo>777078</Co
    ilNo><CoilPOOperatingUnit>TSUSA</CoilPOOperatingUnit><CoilPONo>3407</CoilPONo>
    <MillNo>31</MillNo><MillCoilStatus>Test</MillCoilStatus><ItemNo>0140SP150 C5A<
    /ItemNo><Weight>17365</Weight><UOM>POUNDS</UOM><DocumentNo>0</DocumentNo><Docu
    mentDate>2008-10-13</DocumentDate><DocumentStatus>Processed</DocumentStatus><Do
    cumentType>Tests</DocumentType><DocumentSource>MILL</DocumentSource><Tests Equ
    ipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="84" TestUnit="15T" Status="P
    rocessed" TestId="65"></Tests><Tests EquipmentCode="MILLEDI" TesterLogin="MILL
    EDI" Value="1.39" TestUnit="W/Lb" St atus="Processed" TestId="48"></Tests><Tes
    ts EquipmentCode="MILLEDI" TesterLog in="MILLEDI" Value="1979" TestUnit="W/Lb"
    Status="Processed" TestId="49"></Tests></Coil>
    The sample insert records are as follows
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 65, 84, '15T', 'Processed', 'MILLEDI', 'MILLEDI', null);
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 48, 1.39, 'W/Lb', 'Processed', 'MILLEDI', 'MILLEDI', null);
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 49, 1979, 'W/Lb', 'Processed', 'MILLEDI', 'MILLEDI', null);
    commit;
    Thanks in Advance.

  • Running SQL Server Function and Procedures from Oracle

    I am trying to run SQL Server 2005 functions and/or procedures from a SQL statement in Oracle. I have gone throught the hetergeneous services and have connected to the SQL Server database successfully. I can also do a query to a table in SQL Server successfully; but I have not been able to execute a procedure or a function.

    Have you tried Oracle syntax? It seems to me that you have only tried T-SQL syntax, e.g. execute proc.
    Wrap it in a begin..end tag like you would a normal PL/SQL function or proc call. Assumption is that as Oracle makes the remote database (via the dblink) look like an Oracle database, you should also play along and pretend it is one and treat it as such.
    E.g.declare
      r integer;
    begin
      -- execute remote proc
      procFoo@dblink( 'ABC' );
      -- call a remote function
      r := funcFoo@dblink( 123 );
    end;

  • How can I get the username and password from Oracle Forms to PJC !

    Dear Sir,
    I have username,password and push button fields in oracle forms. When user clicks the push button, I need to get username and password field contents to my Pluggable Java Program to authenticate the user trying to login. How can I get those text field contents to my java program..? Looking forward from you soon sir.
    Thanks in Advance,
    S Ramkumar

    I tried that trigger but nothing reflects. I write that method in WHEN_BUTTON_PRESSED trigger.
    In the form module I written,
    Set_Custom_Property('BL.USERNAME',1,'NAME','');
    Set_Custom_Property('BL.PASSWORD',1,'PASS','');
    Implementation class of the push button I gave my java class file name.
    In Java Code I tried register the form fields like,
    public static final ID userName = ID.registerProperty("NAME");
    public static final ID passWord = ID.registerProperty("PASS");
    In Java Code I tried get the contents from registered properties,
    public boolean setProperty(ID property, Object value) {
    if(property == userName) {
    System.out.println("Just I wish to see the name entered" + value.toString());
    if(property == passWord) {
    System.out.println("Just I wish to see the pass entered" + value.toString());
    But even System.out.println() is working.
    What's wrong with this code sir ???
    Can you tell me How to register and get those field values in Java ?

  • XML load and retrive from oracle.

    Hi
    I am able to validate and load the xml file to xmltype column of database table. how can i get the inforation of each node sepeately (row wise) from sql query.
    I tried following query but giving me error.
    <?xml version="1.0" encoding="utf-8" ?>
    <caieers>
         <caieers_header>
              <file_name>eers000252.xml</file_name>
              <business_unit>CAI Common Services</business_unit>
              <sson_id>255</sson_id>
              <date>2006-12-30</date>
         </caieers_header>
         <caieers_entitlements>
              <caieers_data>
                   <soeid>in12345</soeid>
                   <role_code>read_only</role_code>
                   <role_desc>Read-only access to reports</role_desc>
                   <as_of_date>2006-12-30</as_of_date>
              </caieers_data>
              <caieers_data>
                   <soeid>pp12345</soeid>
                   <role_code>Admin</role_code>
                   <as_of_date>2006-12-30</as_of_date>
              </caieers_data>
              <caieers_data>
                   <soeid>ns12345</soeid>
                   <role_code>read_write</role_code>
                   <role_desc>Can update data</role_desc>
                   <as_of_date>2006-12-30</as_of_date>
              </caieers_data>
         </caieers_entitlements>
    </caieers>
    SELECT p.XML_DOC.extractvalue('/caieers/caieers_header/file_name/text()').getstringval() as File_name,
    p.XML_DOC.extract('/caieers/caieers_header/business_unit/text()').getstringval() as Business_unit,
    p.XML_DOC.extract('/caieers/caieers_header/sson_id/text()').getstringval() as sson_id,
    p.XML_DOC.extract('/caieers/caieers_header/date/text()').getstringval() as Dateoffile,
    p.XML_DOC.extract('/caieers/caieers_entitlements/caieers_data//soeid/text()').getstringval() as soeid,
    p.XML_DOC.extract('caieers/caieers_entitlements/caieers_data//role_code/text()').getstringval() as role_code,
    p.XML_DOC.extract('caieers/caieers_entitlements/caieers_data//role_desc/text()').getstringval() as role_desc,
    p.XML_DOC.extract('caieers/caieers_entitlements/caieers_data//as_of_date/text()').getstringval() as asofdate
    FROM test p,
    table(xmlsequence(extract(value(mat),'/caieers/caieers_entitlements/caieers_data'))) ctb
    ERROR at line 10:
    ORA-00904: "MAT": invalid identifier
    Aslo if anybody help me to find best way to load this file in relational table (at present it was loaded as xmltype column)
    Thanks a lot
    Regards
    Raju

    Try this example
    I"ve modified the XML Schema to automatically create the table during schema registration.
    SQL>
    SQL>
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://www.w3.org/2001/XMLSchema/CAIEERS.xsd';
      3    :schemaPath := '/public/CAIEERS.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0" encoding="utf-8"?>
      5  <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
      6     <xsd:element name="caieers" type="caieers_type" xdb:defaultTable="caieers_tb"/>
      7     <xsd:complexType name="caieers_type">
      8             <xsd:sequence>
      9                     <xsd:element name="caieers_header" type="caieers_header_type"/>
    10                     <xsd:element name="caieers_entitlements" type="caieers_entitlements_type"/>
    11             </xsd:sequence>
    12     </xsd:complexType>
    13     <xsd:complexType name="caieers_entitlements_type">
    14             <xsd:sequence>
    15                     <xsd:element name="caieers_data" type="caieers_data_type" maxOccurs="unbounded"/>
    16             </xsd:sequence>
    17     </xsd:complexType>
    18     <xsd:complexType name="caieers_header_type">
    19             <xsd:sequence>
    20                     <xsd:element name="file_name" type="xsd:string"/>
    21                     <xsd:element name="business_unit" type="xsd:string"/>
    22                     <xsd:element name="sson_id" type="xsd:integer"/>
    23                     <xsd:element name="date" type="xsd:date"/>
    24             </xsd:sequence>
    25     </xsd:complexType>
    26     <xsd:complexType name="caieers_data_type">
    27             <xsd:sequence>
    28                     <xsd:element name="soeid" type="soeid_type"/>
    29                     <xsd:element name="role_code" type="role_code_type"/>
    30                     <xsd:element name="role_desc" type="role_desc_type" minOccurs="0"/>
    31                     <xsd:element name="as_of_date" type="xsd:date"/>
    32             </xsd:sequence>
    33     </xsd:complexType>
    34     <xsd:simpleType name="soeid_type">
    35             <xsd:restriction base="xsd:string">
    36                     <xsd:pattern value="[a-zA-Z]{2}\d{5}"/>
    37             </xsd:restriction>
    38     </xsd:simpleType>
    39     <xsd:simpleType name="role_code_type">
    40             <xsd:restriction base="xsd:string">
    41                     <xsd:maxLength value="30"/>
    42             </xsd:restriction>
    43     </xsd:simpleType>
    44     <xsd:simpleType name="role_desc_type">
    45             <xsd:restriction base="xsd:string">
    46                     <xsd:maxLength value="255"/>
    47             </xsd:restriction>
    48     </xsd:simpleType>
    49  </xsd:schema>
    50  ');
    51  begin
    52    if (dbms_xdb.existsResource(:schemaPath)) then
    53      dbms_xdb.deleteResource(:schemaPath);
    54    end if;
    55    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    56  end;
    57  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2    xmldoc xmltype := xmltype(
      3  '<?xml version="1.0" encoding="utf-8"?>
      4  <caieers>
      5     <caieers_header>
      6             <file_name>eers000252.xml</file_name>
      7             <business_unit>CAI Common Services</business_unit>
      8             <sson_id>255</sson_id>
      9             <date>2006-12-30</date>
    10     </caieers_header>
    11     <caieers_entitlements>
    12             <caieers_data>
    13                     <soeid>in12345</soeid>
    14                     <role_code>read_only</role_code>
    15                     <role_desc>Read-only access to reports</role_desc>
    16                     <as_of_date>2006-12-30</as_of_date>
    17             </caieers_data>
    18             <caieers_data>
    19                     <soeid>pp12345</soeid>
    20                     <role_code>Admin</role_code>
    21                     <as_of_date>2006-12-30</as_of_date>
    22             </caieers_data>
    23             <caieers_data>
    24                     <soeid>ns12345</soeid>
    25                     <role_code>read_write</role_code>
    26                     <role_desc>Can update data</role_desc>
    27                     <as_of_date>2006-12-30</as_of_date>
    28             </caieers_data>
    29     </caieers_entitlements>
    30  </caieers>');
    31  begin
    32    xmldoc := xmldoc.createSchemaBasedXML(:schemaURL);
    33    insert into "caieers_tb" values ( xmldoc );
    34  end;
    35  /
    PL/SQL procedure successfully completed.
    SQL> set autotrace on explain pages 0 lines 150 long 1000
    SQL> --
    SQL> select extractValue(value(p),'/caieers/caieers_header/file_name') FileName,
      2         extractValue(value(p),'/caieers/caieers_header/business_unit') Business_unit,
      3         extractValue(value(p),'/caieers/caieers_header/sson_id')  sson_id,
      4         extractValue(value(p),'/caieers/caieers_header/date')  Dateoffile,
      5         extractValue(value(ctb),'/caieers_data/soeid') soeid,
      6         extractValue(value(ctb),'/caieers_data/role_code') role_code,
      7         extractValue(value(ctb),'/caieers_data/role_desc') role_desc,
      8         extractValue(value(ctb),'/caieers_data/as_of_date') as asofdate
      9    FROM "caieers_tb" p,
    10   table (xmlsequence(extract(value(p),'/caieers/caieers_entitlements/caieers_data'))) ctb
    11  /
    eers000252.xml
    CAI Common Services
           255 30-DEC-06
    in12345
    read_only
    Read-only access to reports
    30-DEC-06
    eers000252.xml
    CAI Common Services
           255 30-DEC-06
    pp12345
    Admin
    30-DEC-06
    eers000252.xml
    CAI Common Services
           255 30-DEC-06
    ns12345
    read_write
    Can update data
    30-DEC-06
    Execution Plan
    Plan hash value: 3549528997
    | Id  | Operation          | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |                    |     3 | 19983 |   805   (1)| 00:00:10 |
    |   1 |  NESTED LOOPS      |                    |     3 | 19983 |   805   (1)| 00:00:10 |
    |*  2 |   TABLE ACCESS FULL| caieers_tb         |     1 |  4056 |     3   (0)| 00:00:01 |
    |*  3 |   INDEX RANGE SCAN | SYS_IOT_TOP_379781 |     3 |  7815 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
                  xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
                  http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><rea
                  d-properties/><read-contents/></privilege>'))=1)
       3 - access("NESTED_TABLE_ID"="caieers_tb"."SYS_NC0001900020$")
           filter("SYS_NC_TYPEID$" IS NOT NULL)
    Note
       - dynamic sampling used for this statement
    SQL>
    SQL>
    SQL>

  • Swap size and / space from Oracle Linux VM Template

    Hi,
    I created few VMs with OVM_OL5U8_x86_64_PVM.ova.
    However, root file system is 10GB and swap is 2GB even I created 50GB virtual disk for VM system.
    I can't change these fixed size.
    Can I increase this from template?
    I create additional virtual disk and add to VM to use bigger swap(using OS command) but just want to implement default system virtual disk provides bigger than 10GB root filesystem and bigger swap size.
    Thanks,
    Jason

    I tried exactly same with another disk but got same error please find the screen shots.

  • Calling a sql server sproc and function from oracle gateway

    Hello ,
    i am new to oracle gateway,
    we are trying to call a sql server 2008 stored procedure and function which return result set like a table result set.
    Can you please share some syntax of how to do it.
    and capture the data set and loop through or output it.
    Thanks
    madhu

    On My Oracle Support you find some notes how to do that. The first one is
    Different Methods For Calling MS SQL Server Procedures Using DG4MSQL (Doc ID 197192.1)
    and a note using result sets (it was written fir the Sybase gateway but works the same way for DG4MSQL) is:
    How to Call a Remote Sybase Procedure Using DG4SYBS (Doc ID 351400.1)
    - Klaus

  • I use stated user and group from oracle manual!

    user: oracle and apache
    group: orainv and osdba
    and now I have noticed that the using on the root directory is up to 33%..
    please tell me what is this mean??????

    open the Terminal and run the following command. Are the usernames for the accounts listed in the output?
    dscl . -list Users

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table.
    Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for data security...?
    In other words can the userid/pwd info from Oracle Profile Table imported and re-used in BO Enterprise Edition.

    If the users/pw are in an Oracle LDAP v3 compliant server then you can import them via LDAP plugin, else you would need to bring them in an enterprise users via script. The Import wizard can do this and the SDK (see the SDK forums for more info on how)
    Maintaining the passwords would be difficult unless you are using and industry standard directory like LDAP.
    Regards,
    Tim

Maybe you are looking for

  • Hard Drive Died - After Rebuilding Wiki & Blog Not Working

    My Snow Leopard Server hard drive died. I did a clean install of Snow Leopard on a new drive. I then created fresh accounts and settings similar to my old server manually. I then copied over content from a backup. I copied over the following folders:

  • Photos blurry after rebuilding photo library

    OK, so I followed the directions and completed the rebuilding of my iPhoto library. However, now in the edit window the photos look out of focus (they weren't before!) and when I tried making a book the message I got was that the photos are of "low q

  • Dreaded Apple logo and spinning circle.

    I have the 20 inch I mac and I am running leopard. Last night although my mac is on a power bar we did have a few power surges. Now this morning all i get is the logo and spinning circle I have checked the ram it all seems good tried it without no lu

  • AcroRd32.exe - Bad Image crash

    C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.762_none_10b2f55f9bffb 8f8\MSVCP80.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or con

  • Anytime I try using roboform with firefox 10.0 or newer firefox crahses. How do I fix or make sure firefox developers will fix this?

    I upgraded my firefox to the 10.0, since then whenever I try to use roboform it will automatically crash and close. I am using 9.0 now since it is the lastest version that will not crash when using roboform. Firefox needs to fix this issue if I am to