an oracle DB for oracle table another transformation table DB. ODI11g

Hello
My source table and target tables are in different oracle 11g database servers (Instance Source and target are in different servers).
All my connections to database server successful.
I use more KMs.
To check
CKM SQL
for loading
LKM SQL to Oracle.
For the integration
IKM Oracle incremental update.
I get the error after execution of the interface.

ODI-1217: NGP_INT1 Session (28001) fails with return code 955.
ODI-1226: NGP_INT1 step fails after 1 attempt.
ODI-1240: Debit NGP_INT1 fails during a load operation. This flow of charge table target STAGE_COUNTRY_MASTER.
ODI-1228: SrcSet0255 (load) task fails on ORACLE REV_TRG1 connection target.
Caused by: java.sql.SQLSyntaxErrorException: ORA-00955: name is already used by an existing object

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:237)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:619)

Even after changing KMs for CKM SQL, SQL to SQL LKM, IKM SQL ADD CONTROL. I get the same error.

Please help me.

Hello

It is a common mistaken so nothing to worry about...

Connect to Oracle with Sql * more or Toad or any other sql client tool
For the query stuck by you it seems that your scheme of work is FCUBSITSUPP1

GoTo this scheme and the number of the order
DROP SYNONYM

Once this synonym is deleted, go and run your ODI interface

Thank you
Fati

Tags: Business Intelligence

Similar Questions

  • Need help for query flat_file type clobdata oracle table data.

    Hi Sir,

    I need help to query oracle table flat file data having given clob type.
    Oracle Version:
    
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE     10.2.0.1.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    
    
    Source table
    
      CREATE TABLE order_details 
       (     QUEUE_SEQNUM NUMBER(10,0) NOT NULL ENABLE, 
         LINE_SEQNUM NUMBER(10,0) NOT NULL ENABLE, 
         CHAR_DATA CLOB, 
         OPTIMISTIC_LOCK_KEY NUMBER(20,0)
       ) 
    COLUMN FOR CHAR_DATA FLAT_FILE
    EU,6067AT,AT10,000000402004,NexiumGERDManagementProject,Z435,,ZZ29,NIS-GOLD,AT
    EU,6067AT,AT10,000000402038,NIS-OEU-ARI-2007/1,Z450,,ZZ29,NIS-OEU-ARI-2007/1,AT
    EU,6067AT,AT10,000000402039,SymbicortNISinCOPD,Z450,,ZZ29,NIS-REU-DUM-2007/1,AT
    EU,6067AT,AT10,000000402040,D1443L00044SeroquelXRRuby,Z450,,ZZ29,D1443L00044,AT
    EU,6067AT,AT10,000000402041,NIS-GEU-DUM-2008/1,Z450,,ZZ29,NIS-GEU-DUM-2008/1,AT
    EU,6067AT,AT10,000000402042,SonstigeAktivitätenLCM,Z450,,ZZ29,.,AT
    EU,6067AT,AT10,000000402134,D1680L00002Saxagliptin,Z450,,ZZ29,D1680L00002,AT
    EU,6067AT,AT10,000000402199,SeroquelWaveNIS,Z450,,ZZ29,NIS-NEU-DUM-2009/1,AT
    EU,6067AT,AT10,000000402313,SeroquelExtra(D1443L00082),Z450,,ZZ29,D1443L00082,AT
    EU,6067AT,AT10,000000402517,AtlanticD5130L00006(AZD6140),Z450,,ZZ29,D5130L00006,AT
    EU,6067AT,AT10,000000554494,ArimidexSt.Gallen(13+2),Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554495,ArimidexASCO(5delegates),Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554496,ArimidexSanAntonio6delegates,Z142,,ZZ09,,AT
    EU,6067AT,AT10,000000554497,ArimidexBreastCancerSummit(13+2),Z130,,ZZ09,,AT
    EU,6067AT,AT10,000000554498,ArimidexEIH(15delegates),Z130,,ZZ09,,AT
    EU,6067AT,AT10,000000554499,ArimidexNIFA(200delegates),Z135,,ZZ09,,AT
    EU,6067AT,AT10,000000554500,ArimidexNIFAworkshops(8x25),Z135,,ZZ09,,AT
    EU,6067AT,AT10,000000554501,ArimidexPraktischeGyn.Fortbildung,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554502,ArimidexAGO,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554503,ArimidexHämato/OnkologieKongress,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554504,ARIMIDEXGYNäKOLOGENKONGRESS,Z147,,ZZ09,,AT
    EU,6067AT,AT10,000000554505,ArimidexChirurgenkongress,Z147,,ZZ09,,AT
    EXPECTED RESULTS:
    AFFIRM_CODE COMPANY_CODE INTERNAL_ORDER_CODE INTERNAL_ORDER_DESC ENIGMA_ACTIVITY             SUB_ACTIVITY_CODE IN_AFF_IND ORDER_TYPE EXTERNAL_ORDER COUNTRY        
    EU          6067AT       AT10                 000000402004       NEXIUMGERDMANAGEMENTPROJECT     Z435           NULL        ZZ29       NIS-GOLD        AT             
    EU          6068AT       AT11                 000000402005       NEXIUMGERDMANAGEMENTPROJECT     Z435           NULL        ZZ29       NIS-GOLD        AT             

    Sorry, my bad. Without database at hand, I'll try 'baby steps' (borrowed from Frank) so you don't confuse it with errors that I might add (happens far too often already, but at least you won't "swallow" as forum members think is one of the main goals of this fighter - help her learn - providing not only the proverbial fish.)
    Search the Forum - your problem is one of its best sellers. Watching {message identifier: = 10694602} ("split string into" was the key word used in research) you can try something as

    select table_row,
           level clob_row,
           regexp_substr(char_data,'[^' || chr(13) || chr(10) || ']+',1,level) the_line
      from (select to_char(queue_seqnum)||':'||to_char(line_seqnum) table_row,
                   char_data
              from order_details
           )
     connect by regexp_substr(char_data,'[^' || chr(13) || chr(10) || ']+',1,level) is not null
            and prior char_data = char_data
            and prior table_row = table_row
            and prior sys_guid() is not null
    

    to get all the s the_lineall CLOB and after that the use of the example even to get your columns of each the_line.

    Concerning

    Etbin

    Edited by: Etbin on 3.2.2013 09:01

    .. .but I m connected to do things according to the instructions, I can't do something.

    Used to happen to me too and I did as told to the but only after explaining any disadvantages, I was aware of in time. The last sentence is usually: "O.K. now be just and Don't come back with that kind of thing when it turns out that this isn't the right thing."
    rp0428 post - something to remember.

  • is it possible for the owners of two for one table in oracle?

    SQL > select table_name, master
    dba_tables 2
    3 where table_name = "DEPT";

    TABLE_NAME OWNER
    ------------------------------ ------------------------------
    MANO DEPT
    SCOTT DEPT

    SQL >
    SQL >
    SQL > show user;
    The USER is "MANO".

    Hello
    This isn't two owners for 2 tables but twotables and two owners.
    Log in as a Mano
    make one

    insert into dept values (blahh..blahh..);
    commit;
    

    Now the connection as scott

    select * from dept;
    

    You will see the difference.
    What you should understand, is there are physically two tables belonged to two different users with the same name.
    Hope he get out of your confusion.

    See you soon!
    Bobin

  • ODI - read CSV file and write to the Oracle table

    Hello world

    After 4 years, I started to work again with ODI, and I'm completely lost.

    I need help, I don't know what to use for each step, interfaces, variables, procedures...

    What I have to do is the following:

    (1) reading a CSV file-> I have the topologies and the model defined

    (2) assess whether there is a field of this CSV file in TABLE A-> who do not exist in the table is ignored (I tried with an interface joining the csv with the TABLE model a model and recording the result in a temporary data store)

    Evaluate 3) I need to update TABLE C and if not I need to INSERT if another field that CSV exists in TABLE B-> if there

    Could someone help me with what use?

    Thanks in advance

    Hi how are you?

    You must:

    Create an interface with the CSV template in the source and a RDBM table in the target (I'll assume you are using Oracle). Any type of filter or the transformation must be defined to be run in the stadium. (you must use a LKM for SQL file and add an IKM Sql control (it is best to trim them and insert the data when it cames to a file if you want after this process, you may have an incremental update to maintain history or something like that).)

    For validation, you will use a reference constraints in the model of the oracle table: (for this you need a CKM Oracle to check constraints)

    Then, you must select the table that you sponsor and in the column, you choose which column you will match.

    To article 3, you repeat the above process.

    And that's all. Pretty easy. If you do not have the two tables that you need to use your validation that you need to load before loading the CSV file you need valid.

    Hope this can help you

  • How will I know when to run the oracle table statistics?

    I have a situation Here.Several weeks back, one of my application developer complained about the performance issue in one of the application. I looked at the table statistics, statistics on the table were outdated and ran the table statistics, query ran a lot faster. The same problem occurred in another application, and hoping that oracle will take the right decisions based on the statistics, I ran the statistics for the tables involved in the query, but this time things got worse? Why is this? According to oracle documentation the optimizer must have updated statistics on the tables and indexes that surround these tables, so how do we decide when to run the statistics on the tables by making sure that we have no worse things. Thank you

    You don't tell us your version of db, but if you're on 10g and above, Oracle marks as out-of-date statistics when the RASSI percentage reaches or crosses the 10%. 11.1 from automatic work, managed by the ABP process runs nightly 10om at 02:00 on weekdays (can't recall for weekends) and supports the same. The question, when to collect the statistics is actually very subjective in your environment. Most of the time, it would be a weekly or a night and work in a data warehouse, in the next window ETL. You would need to play with the amount of the percentage of blocks of the table before you would be able to come to percentage that can work for your plans in a good way. I also saw the return of cardinality plays a large role in the exercise sometimes. You can watch here as well.

    HTH

    Aman...

  • problem loading data from oracle table excel table / oracle

    Hi all

    I'm working on the form of data transformation 2 different sources to a target table only oracle.
    My first source - excel sheet.
    2nd source - oracle table.

    Creation of data servers, dsn(for excel), reversing everything done very well.
    When I try to display the data there is a problem.

    EXCEL - serial number column is displayed as 1.0,2.0,.3.0 etc. need 1,2,3,4,5...
    Oracle tables-> after that reverse it does not display the data types for the selected columns.

    I am not able to create a join and run.
    Help, please.

    Thank you
    Chaitanya.

    Hello

    Just a thought, why not u cast TO_NUMBER to the interface mapping for the serial number column?

    Thank you
    Guru

  • Get the error loading file csv to oracle table

    Hello

    I'm tryitng to load the csv file into oracle db table.

    Source:

    CSV file have account_numbers, customer_names. all the fields, it took as channel.

    Target: Oracle db

    If I took all the fields as varchar, it loads very well. but I want to

    Oracle table fields: digital account numbers or decimal (20.2)

    customer_names as varchar2 format.

    When I'm trying to load csv to oracle table, I am getting following error.

    err7.png

    ODI-1228: fgh1 (integration) task fails on the target odi_user1 ORACLE connection.

    Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number

    I tried so many times. I am still getting error.

    TO_NUMBER function I also used, getting same error

    Please help me,

    Thank you and best regards,

    A.Kavya.

    Hi, String, CSV file data type have values of amount a 54,356,4657.89 format. Like this. In odi, I took number (30.2) of data types for the target table. When I traced in odi, I get error like invalid number. to do this, I changed the values in csv file format. I removed commas. for example, 543564657.89. Yet once, I traced csv to oracle in odi. executd successfully. Thanks & regards, A.kavya.

  • Remove duplicates from the oracle table using 2 columns

    Hello

    I need to remove the duplicates of an oracle table based on 2 columns in the table.i tried to remove duplicates using the join, but get the error like sql error ora-00933

    Thank you

    Hello

    Here's one way:

    DELETE FROM table_x

    WHERE ROWID NOT IN)

    SELECT MIN (ROWID)

    FROM table_x

    Col_1, col_2

    );

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements), and the results you want from this data.

    In the case of a DML operation (for example, REMOVE) the sample data should show what look like the paintings before the DML, and results will be the content of the or the tables changed after the DML.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

  • purge data in Oracle tables

    Team,

    What are all the options database Oracle to cleaning a historical data data warehouse tables.

    We intend to have a main table that will serve the period of 60 days, 90 days for each table

    For example: more than 60 days in X table data will be purged.

    It would be useful that I get some suggestions on this purge mechanism.

    Thank you...

    Partitioning (content) worth a visit if you have the Enterprise edition.

  • Load since excellent data to Oracle Tables

    Hi all

    I want to create a table with the payment year as default sysdate (to_char(sysdate,'yyyy')) and months in the form 'MM' (as default payment_month < (syadate, 'MM') >

    I'm doing it in vain. Help me please, and the other is want to load data from EXCEL to ORACLE table.

    I used to load the load data using SQL * LOADER. can you please let me know is possible to load data without using SQL * Loader? Please give me the solution for this.

    Thank you
    ORA.
  • Insert data as XML into the Oracle Table

    Hi all

    I have a requirement where the data in XML format, and I need to insert into the Oracle Table. For example, I get XML data in the following format,
    < results >
    < row >
    < BANK_ACCOUNT_ID > 10010 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300968 < / BANK_ID >
    Vision operations < LEGAL_ENTITY > < / LEGAL_ENTITY >
    < BANK_NAME > BofA < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 10271-17621-619 < / BANK_ACCOUNT_NUM >
    < BANK_ACCOUNT_NAME > BofA-204 < / BANK_ACCOUNT_NAME >
    < BRANCH_NAME > New York < / BRANCH_NAME >
    USD < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 09 < / BALANCE_DATE >
    < LEDGER_BALANCE > 432705900.56 < / LEDGER_BALANCE >
    < / row >
    < row >
    < BANK_ACCOUNT_ID > 10091 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300984 < / BANK_ID >
    Vision industries < LEGAL_ENTITY > < / LEGAL_ENTITY >
    Barclay Bank < BANK_NAME > < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 70986798 < / BANK_ACCOUNT_NUM >
    Bank Multi currency-626 < BANK_ACCOUNT_NAME > Barclays < / BANK_ACCOUNT_NAME >
    Reading < BRANCH_NAME > < / BRANCH_NAME >
    GBP < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 14 < / BALANCE_DATE >
    < LEDGER_BALANCE > 24244085.24 < / LEDGER_BALANCE >
    < / row >
    < row >
    < BANK_ACCOUNT_ID > 10127 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300968 < / BANK_ID >
    < LEGAL_ENTITY > SSC U.S. 01 < / LEGAL_ENTITY >
    < BANK_NAME > BofA < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 4898744 < / BANK_ACCOUNT_NUM >
    < BANK_ACCOUNT_NAME > BofA SSC U.S. 02-7188 < / BANK_ACCOUNT_NAME >
    < BRANCH_NAME > New York < / BRANCH_NAME >
    USD < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 28 < / BALANCE_DATE >
    < LEDGER_BALANCE > 10783815.28 < / LEDGER_BALANCE >
    < / row >
    < / results >

    I like to write PLSQL code that will receive these data with XML tags and insert it into the Oracle Table. Is this possible with built-in XML features provided in the Oracle database?

    Please Guide...

    Kind regards
    Priyanka

    But the problem is the file XML is to have the details of the records if you carefully observed the XML file. But by using more high statement select I get output in the following format.
    ORG_ID REQ_LINE PO_NUMBER EXPECTED_REC_QTY USER_NAME REQ_NUMBER
    204204 1444714450 11 64446445 11 OPERATIONSOPERATIONS

    The table has only one row, so you get a single row as output.
    I'm surprised that you find useful examples showing how to divide the data into several lines.

    (1) create the table with the following option, it will optimize the performance of storage and query for large XML documents:

    CREATE TABLE xxios_xml_data_test(xml_data XMLTYPE)
    XMLTYPE COLUMN xml_data STORE AS SECUREFILE BINARY XML
    ;
    

    (2) interview table with:

    SQL> select x.*
      2  from xxios_xml_data_test t
      3     , xmltable(
      4         '/Results/Row'
      5         passing t.xml_data
      6         columns ORG_ID           number       path 'ORG_ID'
      7               , REQ_NUMBER       number       path 'REQ_NUMBER'
      8               , REQ_LINE         number       path 'REQ_LINE'
      9               , PO_NUMBER        number       path 'PO_NUMBER'
     10               , EXPECTED_REC_QTY number       path 'EXPECTED_REC_QTY'
     11               , USER_NAME        varchar2(30) path 'USER_NAME'
     12       ) x
     13  ;
    
        ORG_ID REQ_NUMBER   REQ_LINE  PO_NUMBER EXPECTED_REC_QTY USER_NAME
    ---------- ---------- ---------- ---------- ---------------- ------------------------------
           204      14447          1       6444                1 OPERATIONS
           204      14450          1       6445                1 OPERATIONS
     
    
  • Cache Oracle Tables

    Hello gurus,

    We are building a new application and identified that some tables will be access very frequently. To decrease the I/O we intend to CACHE these tables. I don't know if we have made the right decision. My question what are the things you need to consider before caching of Oracle tables.

    Any help much appreciated. Thank you.
    select * from V$VERSION
    BANNER                                                                           -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production     PL/SQL Release 11.2.0.3.0 - Production                                           CORE     11.2.0.3.0     Production                                                         TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production                NLSRTL Version 11.2.0.3.0 - Production    

    OK, if you want to use multiple buffer pools and put these paintings in the pool of Dungeon?

    Why do you think that this will improve the performance? Oracle default algorithm for the dating of the blocks that are rarely used is good enough for most applications. Why do you believe that you can identify what blocks will be more benefits to cache better than Oracle? Why do you think that you wouldn't be better off giving any pool cache size KEEP you would give to the DEFAULT pool and let the algorithm of Oracle caching to cache everything that it determines is appropriate? It is possible that there is something that you know your application that allows you to make that kind of determination. But in the vast majority of cases I've seen, people who tried to do end up hurting performance at least a little bit because they forcing you Oracle to the margin at the age of the blocks that it would be beneficial to cache and it would benefit from aging on blocks.

    Do you understand the impact of the maintenance of the use of multiple buffer caches? If you use a recent version vaguely Oracle and by using the features of automatic memory management, Oracle does not automatically manage default buffer caches. That increases the likelihood that the use of default buffer caches is will create performance issues, because humans are much less effective to recognize and react to changes in memory usage and greatly increases the amount of monitoring and work that administrators must make on the system (which, in turn, increases the risk that they are making a mistake).

    Justin

  • Help to download the xml of the oracle table below

    Dear all,

    I tried best to download the below xml to oracle table but giving the link between the tables is very difficult for me. can someone help me to import the XML below for oracle table

    <? XML version = "1.0" encoding = "utf-8"? >
    < Claim.Submission xmlns:tns = "http://www.haad.ae/DataDictionary/CommonTypes" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = "http://www.haad.ae/DataDictionary/CommonTypes/ClaimSubmission.xsd" >
    < header >
    MF65 < SenderID > < / SenderID >
    C014 < ReceiverID > < / ReceiverID >
    < TransactionDate > 03/12/2012 10:40 < / TransactionDate >
    < RecordCount > 1 < / RecordCount >
    < DispositionFlag > PRODUCTION < / DispositionFlag >
    < / header >
    < claim >
    < ID > 23112 / < ID >
    < MemberID > 100000874 < / MemberID >
    A022 < PayerID > < / PayerID >
    MF65 < ProviderID > < / ProviderID >
    < EmiratesIDNumber > 111-1111-1111111-1 < / EmiratesIDNumber >
    < raw > 115 < / gross >
    < PatientShare > 20 < / PatientShare >
    < net > 95 < / Net >
    < meeting >
    MF65 < FacilityID > < / FacilityID >
    < type > 1 < / Type >
    < > 47685 PatientID < / PatientID >
    < Start > 02/11/2012 12:00 < / Start >
    < / meeting >
    < Diagnostics >
    Principal of < type > < / Type >
    < code > < code > 461.9
    < / Diagnosis >
    < Diagnostics >
    Secondary < type > < / Type >
    < code > < code > 462
    < / Diagnosis >
    < activity >
    23112_1 < ID > < /ID >
    < Start > 02/11/2012 12:00 < / Start >
    < type > 3 < / Type >
    < code > < code > 99202
    < quantity > 1 < / quantity >
    < net > 95 < / Net >
    D1310 < clinician > < / clinician >
    < / activity >
    < / claim >
    < Claim.Submission >

    Pls tell me how I can get

    Have you considered using the storage relational object for this?
    Since you have patterns, you could record in the database, which will automatically create storage appropriate for your XML documents as well as validate at the time of insertion.
    You can then create individual views to query the nested parts of the document and finally insert the data into relational tables final.

    See the documentation for an introduction to the concepts:
    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/partpg2.htm#g997354

    You will find examples on the {forum: id = 34} forum and its FAQ: {: identifier of the thread = 410714}

  • generate the xml to oracle table

    Hello

    I want to generate xml form an oracle table and using the sql express oracle developer 10 g, forler xdk is decompressed also under folder oracle express, still getting the following error: code used
    var g_clob clob;
    
     declare
         l_ctx  dbms_xmlquery.ctxHandle;
         l_clob clob;
        begin
          l_ctx := dbms_xmlquery.newContext('select * from scott.emp');
          dbms_lob.createtemporary(:g_clob,true,dbms_lob.session);
          :g_clob := dbms_xmlquery.getXml(l_ctx);
        end;
        /
    ORA-06550: line 2, column 14:
    PLS-00201: identifier ' DBMS_XMLQUERY. CTXHANDLE' must be declared

    Thanks in advance

    Hello

    DBMS_XMLQUERY is a wrapper for the methods in the Java class "oracle.xml.sql.query.OracleXMLStaticQuery".
    The problem is that Oracle 10 g XE is not a JAVA virtual machine, you can not use this package.

    Use DBMS_XMLGEN instead, it provides similar functionality and is more effective (C-based):

    SQL> var g_clob clob
    SQL> DECLARE
      2    l_ctx    dbms_xmlgen.ctxHandle;
      3  BEGIN
      4    l_ctx := dbms_xmlgen.newContext('select * from scott.emp');
      5    :g_clob := dbms_xmlgen.getXML(l_ctx);
      6    dbms_xmlgen.closeContext(l_ctx);
      7  END;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> set long 5000
    SQL> set pages 1000
    SQL> print g_clob
    
    G_CLOB
    --------------------------------------------------------------------------------
    
    
     
      7369
      SMITH
      CLERK
      7902
      17/12/80
      800
      20
     
     
      7499
      ALLEN
      SALESMAN
      7698
      20/02/81
      1600
      300
      30
     
     
      7521
      WARD
      SALESMAN
      7698
      22/02/81
      1250
      500
      30
     
     
      7566
      JONES
      MANAGER
      7839
      02/04/81
      2975
      20
     
     
      7654
      MARTIN
      SALESMAN
      7698
      28/09/81
      1250
      1400
      30
     
     
      7698
      BLAKE
      MANAGER
      7839
      01/05/81
      2850
      30
     
     
      7782
      CLARK
      MANAGER
      7839
      09/06/81
      2450
      10
     
     
      7839
      KING
      PRESIDENT
      17/11/81
      5000
      10
     
     
      7844
      TURNER
      SALESMAN
      7698
      08/09/81
      1500
      0
      30
     
     
      7900
      JAMES
      CLERK
      7698
      03/12/81
      950
      30
     
     
      7902
      FORD
      ANALYST
      7566
      03/12/81
      3000
      20
     
     
      7934
      MILLER
      CLERK
      7782
      23/01/82
      1300
      10
     
    
    

    Or, using the SQL/XML functions:

    SELECT XMLElement("ROWSET",
             XMLAgg(
               XMLElement("ROW",
                 XMLForest(empno, ename, job, mgr, hiredate, sal, comm, deptno)
               )
             )
           ).getClobVal()
    FROM scott.emp
    ;
    
  • Loading metadata from planning to the oracle table

    Hello

    I'm trying to load a metadata dimension of planning to oracle table.we are on 10.1.3

    I chose LKM SQL for SQL to load source for staging and IKM SQL for SQL add to load from the staging to the target.

    I got the below error

    0: null: java.sql.SQLException: Driver must be specified
    java.sql.SQLException: Driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.t (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.connect (SnpsConnection.java)
    at com.sunopsis.sql.SnpsQuery.updateExecStatement (SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.executeQuery (SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt (SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.h.y (h.java)
    at com.sunopsis.dwg.cmd.e.run (e.java)
    at java.lang.Thread.run (unknown Source)

    Please suggest...

    Thank you

    If you want to use the dimension essbase as a source, then you'll need extract the size of a target using the 'LKM Hyperion Essbase METADATA to SQL.
    It would be also possible to go directly to the planning of the relational tables in the applications, but you must have an understanding of how they work.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Update the Oracle Table

    Hi all
    I just updated a table in a flat file to oracle table source.
    using the incremental update of IKM.
    ODI throws an error saying that 'NO KEY IN your target error DECLRED'
    I don't have permission to modify the table structure. should I please?

    Thanks in advance,
    Ido

    Hello

    Do you know which column can be used as a key for the comparison update?
    If Yes, then you can select this column as the KEY in the ODI interface. It is not necessary to have this column that is marked as key in the database.

    Thank you
    Fati

Maybe you are looking for

  • How can I make Microsoft live mail open in Firefox?

    I want microsoft live mail to be my default e-mail program.

  • Download Recovery Manager windows 7 64 bit

    Hello! I formatted my laptop, I installed Windows 7 from a USB key again (here I copied an ISO image of windows 7) and I lost the HP Recovery Manager. The windows do not work properly and I am trying to restore to factory settings and make my laptop,

  • Windows 10 guard break

    Whenever I try to install Windows 10, install fine. However, about 10 minutes after the bootcamp drivers have installed and restart the computer, the screen goes black and I can't do anything, so I have to restart. Before arriving at the login screen

  • is it possible to use a file refnum as mathscript node entry

    Hello world I started using the LV and mathscript recently. A problem confuses me a lot.  It's Is it possible to use a file refnum as the entry or exit of the mathscript node? A picture is attached for your reference. Thank you very much! Gary

  • 2600n: print quality 2600

    Dear all, I have printing problem with my HP Color LaserJet 2600n. What is the problem with my printer? The horizontal spaces appear again and again... The looks of page test as follows: Thank you