ORA-01427 error in the query

Hi all,
I am using a query that has about 12 select clauses in the main Select clause and also other independent columns. I am also using order by for one of the independent column. i am getting an error ORA-01427 - Single subquery returns more than one row.How to resolve this issue. If order by is removed it works. But order by is mandatory here.
Thanks

Hi!
Please post your query. Without your query I couldn't give you a precise answner. But I guess that your problem is that you've used a single row operator like = in a WHERE-Clause where you get more then one row. Try using somithing like IN, SOME, ANY ...
Hope this helps!
regards

Similar Messages

  • Ora-01427 error

    Hi ,
    i am getting Ora-01427 error when i ran below script . my sub query returns more
    than 1 row . please help me in fixing this .
    update registrant_address a set a.text_res_address_nbr =
    (select c.street_number from registrant_address e , registrant b , z_polk_conv08172005 c
    where e.key_registrant = b.key_registrant and b.key_registrant_old = c.registrant_id)
    thanks,
    Kar

    Hi ,
    i am getting Ora-01427 error when i ran below script
    . my sub query returns more
    than 1 row . please help me in fixing this .
    update registrant_address a set
    a.text_res_address_nbr =
    (select c.street_number from registrant_address e ,
    registrant b , z_polk_conv08172005 c
    where e.key_registrant = b.key_registrant and
    b.key_registrant_old = c.registrant_id)
    thanks,
    Kar
    i am getting Ora-01427 error when i ran below script
    . my sub query returns more
    than 1 row . please help me in fixing this .are you sure that you are getting ORA-01427, because ORA-01422 gives you the message 'Exact fetch returns more than one row' !!
    There are different ways to cope up with this issue,
    1. If you really don't care about a particular street_number, then go for rownum =1 in the where condition if the select statement.
    2. If you care about returning the right value, then probably you need to find out an attribute or a combination of attributes in these three tables used in your select statement that gives you distinct identification for each row.
    Hope this helps
    Thanks

  • Ora -3113 error in the alert log

    Hi ,
    We are getting ORA-3113 error in the alertlog and i pasted below alert log entry.
    VERSION INFORMATION:
    TNS for Linux: Version 11.1.0.7.0 - Production
    Unix Domain Socket IPC NT Protocol Adaptor for Linux: Version 11.1.0.7.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 27-JAN-2011 16:11:25
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNSperation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 110
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.100.72.127)(PORT=2844))
    Thu Jan 27 16:13:55 2011
    opidcl aborting process unknown ospid (18585_47319544949952) due to error ORA-3113
    Thu Jan 27 16:14:03 2011
    Thread 2 advanced to log sequence 2022 (LGWR switch)
    Current log# 4 seq# 2022 mem# 0: +DATA/systemprod/onlinelog/group_4.269.736019283
    Current log# 4 seq# 2022 mem# 1: +FLASH1/systemprod/onlinelog/group_4.262.736019285
    Thu Jan 27 16:14:13 2011
    opidcl aborting process unknown ospid (14096_47207734746304) due to error ORA-3113
    Thu Jan 27 16:16:34 2011
    Thread 2 advanced to log sequence 2023 (LGWR switch)
    Current log# 8 seq# 2023 mem# 0: +DATA/systemprod/onlinelog/group_8.319.736018999
    Current log# 8 seq# 2023 mem# 1: +FLASH1/systemprod/onlinelog/group_8.3138.736018999
    Thu Jan 27 16:19:33 2011
    Thread 2 advanced to log sequence 2024 (LGWR switch)
    Current log# 3 seq# 2024 mem# 0: +DATA/systemprod/onlinelog/group_3.268.736019049
    Current log# 3 seq# 2024 mem# 1: +FLASH1/systemprod/onlinelog/group_3.261.736019051
    Thu Jan 27 16:22:17 2011
    What could be the workaround to resove this issue
    Regards
    Prem

    ORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support

  • [Execute SQL Task] Error: Executing the query failed with error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION."

    I have an package with source , data flow and destination to execute on begin and commit.
    in the below i have just used for questioning purpose with diagram removing my Data Flow task explaining my problem
    on execution, i get error as
    [Execute SQL Task] Error: Executing the query "COMMIT TRAN DimCompanyCode" failed with the following error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.". Possible failure reasons: Problems with the query, "ResultSet"
    property not set correctly, parameters not set correctly, or connection not established correctly.
    as mentioned , i have checked the ResultSet, parameters , connection establish.. all are fine.
    Kindly advice on what has to be done.
    ShanmugaRaj

    To avoid this error, the RetainSameConnection property should set to 'True' for the Connection Manager - Application_DB.
    Narsimha

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Getting ORA -01427 for an update query

    Hi,
    I have two tables
    Create table tran
    tran_id varchar(5) primary key,
    stat varchar(6),
    stat_ts timestamp);
    create table tran_hist
    hist_id number(5) primary key,
    tran_id varchar(5) ,
    stat varchar(6),
    stat_ts timestamp);
    insert into tran values('abc', 'stat4', sysdate);
    insert into tran values('xyz', 'stat4', sysdate);
    insert into tran values('pqr', 'stat3', sysdate);
    insert into tran values('ijk', 'stat2', sysdate);
    insert into tran_hist values(1, 'abc', 'stat1' , to_date('2/27/2011 14:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(2, 'abc', 'stat2' , to_date('3/27/2011 19:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(3, 'abc', 'stat3' , to_date('3/28/2011 15:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(4, 'xyz', 'stat1' , to_date('2/27/2011 11:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(5, 'xyz', 'stat2' , to_date('2/28/2011 14:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(6, 'xyz', 'stat3' , to_date('3/20/2011 04:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(7, 'pqr', 'stat1' , to_date('2/21/2011 14:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(8, 'pqr', 'stat2' , to_date('2/23/2011 11:30:23','mm/dd/yyyy HH24:MI:SS');
    insert into tran_hist values(9, 'ijk', 'stat1' , to_date('2/20/2011 14:30:23','mm/dd/yyyy HH24:MI:SS');
    I need to add a new column update_ts to tran_hist.
    Please help me in updating the data for update_ts, i need the data to look like below. So, TRAN_ID with stat1 would have the stat2 STAT_TS as UPDATE_TS, etc. the max stat on TRAN_HIST would get the update_ts from TRAN table. update_ts is derived from the next stat.
    hist_id tran_id stat stat_ts update_ts
    1 abc stat1 2/27/2011 14:30:23 3/27/2011 19:30:23
    2 abc stat2 3/27/2011 19:30:23 3/28/2011 15:30:23
    3 abc stat3 3/28/2011 15:30:23 6/24/2011 15:30:23
    4 xyz stat1 2/27/2011 11:30:23 2/28/2011 14:30:23
    5 xyz stat2 2/28/2011 14:30:23 3/20/2011 04:30:23
    6 xyz stat3 3/20/2011 04:30:23 6/24/2011 15:30:23
    7 pqr stat1 2/21/2011 14:30:23 2/23/2011 11:30:23
    8 pqr stat2 2/23/2011 11:30:23 6/24/2011 15:30:23
    9 ijk stat1 2/20/2011 14:30:23 6/24/2011 15:30:23

    I'm not sure what the subject of this post has to do with the question. You already had a solution but that gave that error?
    The query to get the data can look like this:
    select h.hist_id,h.tran_id,h.stat,h.stat_ts,
            lead(h.stat_ts,1,t.stat_ts) over (partition by h.tran_id order by h.tran_id) update_ts
    from tran_hist h
    left join tran t
      on h.tran_id = t.tran_id
    order by tran_id,HIST_ID;
    HIST_ID                TRAN_ID STAT   STAT_TS                   UPDATE_TS                
    1                      abc     stat1  27.02.11 14:30:23.000000000 27.03.11 19:30:23.000000000
    2                      abc     stat2  27.03.11 19:30:23.000000000 28.03.11 15:30:23.000000000
    3                      abc     stat3  28.03.11 15:30:23.000000000 25.06.11 07:32:24.000000000
    9                      ijk     stat1  20.02.11 14:30:23.000000000 25.06.11 07:32:24.000000000
    7                      pqr     stat1  21.02.11 14:30:23.000000000 23.02.11 11:30:23.000000000
    8                      pqr     stat2  23.02.11 11:30:23.000000000 25.06.11 07:32:24.000000000
    4                      xyz     stat1  27.02.11 11:30:23.000000000 28.02.11 14:30:23.000000000
    5                      xyz     stat2  28.02.11 14:30:23.000000000 20.03.11 04:30:23.000000000
    6                      xyz     stat3  20.03.11 04:30:23.000000000 25.06.11 07:32:24.000000000 and an update:
    alter table tran_hist  add (update_ts timestamp);
    merge into tran_hist ta
    using
    (select h.hist_id,h.tran_id,h.stat,h.stat_ts,
              lead(h.stat_ts,1,t.stat_ts) over (partition by h.tran_id order by h.tran_id) update_ts
    from tran_hist h
    left join tran t
      on h.tran_id = t.tran_id) so
    on (ta.hist_id = so.hist_id)
    WHEN MATCHED THEN UPDATE
         SET ta.update_ts = so.update_ts;
    commit;
    select * from tran_hist;

  • ORA-01722: Error while executing query in Query Designer

    Hi All;
    I am getting the below error while executing a query
    ORA-01722: invalid number
    Error reading the data of InfoProvider
    Error while reading data; navigation is possible
    Have anyone encountered this before? How do i resolve this?
    Thanks!
    ~ Arun KK

    Hi,
    Did you checked all the setting required to run this query are present in the Qualtiy system??
    Which means all the characteristics,key figures are in active state.
    Also all the cubes are in active state with no issues with the involved in the dimensions used for the query.
    Also do a check in the query and if you have authorization try to save the same query and execute the saved one again in quality and see if the same error happens again.
    Thanks
    Ajeet

  • Error executing the Query after deploying and executing the application in WLS 6.1 SP3

    Hi,
    We are trying to run a application by deploying a war file on Web Logic Server
    6.1 SP3. After deploying and at the time of execution of the application, the
    server console displays this error message
    java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1],
    [0], [], [], [], [], [], []
    While debugging thru the application we found that this error comes at the time
    of execution of the query thru the Statement.executeQuery method of java.sql.Statement
    class.
    This same application when deployed on Web Logic Server 8.1 runs perfectly, without
    any hitches.
    Please, provide me the solution to this asap.

    Look for sometime around November. No exact date.
    Eric
    "Dominic Tulley" <[email protected]> wrote in message
    news:[email protected]..
    Thanks Eric,
    you know what I'm going to ask next right?
    Any ideas when SP4 comes out?
    Cheers,
    -Dominic
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]..
    The next version of Apache that we will support will be 2.0.42/2.0.43
    and
    the module for that will be included in the next Service Pack for6.1(SP4)
    and 7.0(SP2).
    The problem with Apache 2 is that when a new release comes out a newmodule
    needs to be compiled. Most of the time. For 2.0.42/2.0.43 this is notthe
    case.
    Regards,
    Eric
    "Dominic Tulley" <[email protected]> wrote in
    message
    news:3da3f246$[email protected]..
    I'm trying to set this up (initially just apache in front of a single
    WLS
    server but ultimately I want to put it in front of a cluster).
    I've installed Apache 2.0.40.
    I've copied the mod_wl_20.so file into the apache modules folder.
    I've edited the httpd.conf file and added the line:
    LoadModule weblogic_module modules/mod_wl_20.so
    When I run apache -t to check the configuration I get the following:
    C:\Program Files\Apache Group\Apache2\bin>apache -t
    Syntax error on line 173 of C:/Program Files/Apache
    Group/Apache2/conf/httpd.conf:
    Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_wl_20.sointo
    server: The specified procedure could not be found.
    So what's going on here?
    Looking at previous postings it sounds like there's an issue with
    versions
    of apache after 2.0.39 but I can't find a download for that version.Also,
    it sounded like the issues were for WLS 7, not 6.1. Can this work
    with
    2.0.40 or am I wasting my time?
    If I get the mod_wl_20.so from dev2dev I get the "incompatible plugin"
    message that has been mentioned in this group already.
    Any suggestions appreciated,
    -Dominic

  • Error in the Query used in APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B

    Dear All,
    I am using the following in a PL/SQL Before Header process.
    Please help me with the following :
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B ('LEASE', 'SELECT LSE_NUM
                                                                                                       FROM   RE_LEASE
                                                                                                       WHERE  LSE_COM_NUM = :P0_COM_NUM');I am getting the following error:
    ORA-20104: create_collection_from_query_b Error:ORA-20104: create_collection_from_query ExecErr:ORA-01008: not all variables bound
    If I change the above as
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B ('LEASE', 'SELECT LSE_NUM
                                                             FROM   RE_LEASE
                                                             WHERE  LSE_COM_NUM = ' || :P0_COM_NUM);Then I get the following error :
    ORA-20104: create_collection_from_query_b Error:ORA-20104: create_collection_from_query ParseErr:ORA-00936: missing expression
    I am using the above to create Next and Previous buttons using the reference provided by ATD in the Re: How to do page break
    Note: If I do not use any Items in the WHERE as below then I do not get any errors and it works as required.
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B ('LEASE', 'SELECT LSE_NUM
                                                                                                      FROM   RE_LEASE');I want to use Items in the query for the collection. Please help.
    Best Regards
    Arif Khadas

    Hi Jari,
    Thanks Jari for the reply. Your solution does work as well but please if you can throw some more light on q'! (first line) and !' (last line).
    q'!
      SELECT LSE_NUM
       FROM   RE_LEASE
      WHERE  LSE_COM_NUM = (SELECT v('P0_COM_NUM') FROM DUAL)
      !'Best Regards
    Arif Khadas

  • Java.sql.SQLException: ORA-00933: error when  executing query

    Hello,
    I am trying to execute the following query from a jsp page.
    String sqlUpdate ="UPDATE table_name SET name ='"+name+"', description='"+description+"', proj_link='" projlink"', active='" active"',sort_order='" order"',image='" image"',category='" category"', technology='" technology "' WHERE id="+id+" ";
    stmt.executeQuery(sqlUpdate);
    I get the follwoing error java.sql.SQLException: ORA-00933: SQL command not properly ended
    When I omit "description" from the query it executes fine. But when I place it back into the query I get the above error. The table is in Oracle database and the datatype of description id varchar2(4000). I declared all the variables used in the query, I then assigned values caught from the form and then am trying to update the form varibles in the table.
    Thanks,
    Nikky128

    Nikky128 wrote:
    Hello,
    I am trying to execute the following query from a jsp page.There's a big part of your problem. You shouldn't be doing database stuff in JSPs. If you must, you should be using JSTL and its <sql> tags.
    String sqlUpdate ="UPDATE table_name SET name ='"+name+"', description='"+description+"', proj_link='" projlink"', active='" active"',sort_order='" order"',image='" image"',category='" category"', technology='" technology "' WHERE id="+id+" ";Not using PreparedStatement here is just a silly noob error.
    When I omit "description" from the query it executes fine. But when I place it back into the query I get the above error. The table is in Oracle database and the datatype of description id varchar2(4000). I declared all the variables used in the query, I then assigned values caught from the form and then am trying to update the form varibles in the table.Probably a single or double quote that you can't see. PreparedStatement will eliminate that problem.
    %

  • Getting EQP-80407 & ORA-00918 error in SES query

    Hi,
    We are using SES to implement Third party search and created a new data source of type "Database" to crawl the external db. when we start the scheduler to crawl the db, getting the following error:
    EQP-80407: Exception while processing document: ORA-00918: column ambiguously defined
    Here is the query used while creating the datasource:
    SELECT 'SWERowId0='||SR.ROW_ID||''AS URL,SR.ROW_ID AS KEY, 'en' AS LANG,SR.LAST_UPD AS LASTMODIFIEDDATE,'SR#: ' ||SR.SR_NUM || CHR(13) || 'Asset Business Segment: '||O.NAME || CHR(13) || 'Installed At Customer Short Name: ' ||OX.ATTRIB_07 || CHR(13) ||'Dispatch To Last Name: ' ||CON.LAST_NAME || CHR(13) || 'Version: ' ||SRX.ATTRIB_07 || CHR(13) || 'Asset Description: ' ||ASS.DESC_TEXT || CHR(13) ||'Short Description: ' ||SR.X_GEHC_IITS_SHORT_DESCRIPTION || CHR(13) || 'Status: ' ||SR.SR_STAT_ID || CHR(13)|| 'Responsible Queue: ' ||USR.LOGIN || CHR(13) || 'Created Date: ' ||SR.X_GEHC_IITS_CREATED || CHR(13) || 'Resolution: '||SR.X_RESOLUTION || CHR(13) || 'SPR ID: ' ||SRX.ATTRIB_41|| CHR(13) || 'Type: ' ||SR.SR_CAT_TYPE_CD || CHR(13) || 'SubType: ' ||SR.SR_SUBTYPE_CD || CHR(13) || 'Description:
    '||SR.DESC_TEXT || CHR(13) || 'Actual Problem: '|| SR.X_ACTUAL_PROBLEM || CHR(13) || 'Owner Last Name: '|| emp.LAST_NAME || CHR(13) || CHR(13) || 'Action: ' ||ACT.SUBTYPE_CD || CHR(13) || 'Type: ' ||ACT.TODO_CD || CHR(13) || 'Status: ' ||ACT.EVT_STAT_CD || CHR(13) || 'Comments: '||ACT.COMMENTS_LONG || CHR(13) ||CHR(13) ||CHR(13) || 'SR#: ' ||SR.SR_NUM || CHR(13) || 'Customer Name: ' ||ORG.NAME || CHR(13) || 'Created Date/Time: '||ACT.X_GEHC_IITS_CREATED || CHR(13) || 'Last Updated Date/Time: '||ACT.LAST_UPD || CHR(13)|| 'Asset Business Segment: '||O.NAME || CHR(13) || 'Asset Description: ' ||ASS.DESC_TEXT || CHR(13) || 'Version: ' ||SRX.ATTRIB_07 || CHR(13) || 'Responsible Queue: ' ||USR.LOGIN ||CHR(13) || 'Customer Short Name: '||OX.ATTRIB_07 || CHR(13) || 'SR Owner First Name: ' ||emp.FST_NAME || CHR(13) || 'SR Owner Last Name: '||emp.LAST_NAME || CHR(13) || 'Customer Contact: ' ||CON3.LAST_NAME|| CHR(13) || 'Owner Last Name: ' ||CON4.LAST_NAME as CONTENT,
    'SR #:' ||SR.SR_NUM || ' - ' || 'Activity#: ' ||ACT.ACTIVITY_UID as title,
    SR.SR_NUM as SR#,
    O.NAME as ASSETBUSINESSSEGMENT,
    OX.ATTRIB_07 as INSTALLEDATCUSTOMERSHORTNAME,
    CON.LAST_NAME as DISPATCHTOLASTNAME,
    SRX.ATTRIB_07 as VERSION,
    SR.SR_STAT_ID as SRSTATUS,
    USR.LOGIN as RESPONSIBLEQUEUE,
    SR.X_GEHC_IITS_CREATED as CREATEDDATE,
    ASS.DESC_TEXT as ASSETDESCRIPTION,
    SR.X_GEHC_IITS_SHORT_DESCRIPTION as SHORTDESCRIPTION,
    emp.LAST_NAME as OWNERLASTNAME,
    CON2.LAST_NAME as CONTACTLASTNAME,
    SR.LAST_UPD as LASTEDITEDUPDATEDDATE,
    ACT.EVT_STAT_CD as ACTIVITYSTATUS,
    ACT.X_GEHC_IITS_CREATED as CREATEDDATETIME,
    ACT.LAST_UPD as LASTUPDATEDDATETIME,
    CON3.LAST_NAME as CUSTOMERCONTACT,
    CON4.LAST_NAME as OWNERLASTNAME
    FROM SIEBEL.S_SRV_REQ SR,SIEBEL.S_ASSET ASS,SIEBEL.S_ORG_EXT O,SIEBEL.S_ORG_EXT_X OX,SIEBEL.S_CONTACT CON,SIEBEL.S_CONTACT emp,SIEBEL.S_SRV_REQ_X SRX,SIEBEL.S_CONTACT CON2,SIEBEL.S_USER USR,SIEBEL.S_EVT_ACT ACT,SIEBEL.S_CONTACT CON3,SIEBEL.S_CONTACT CON4 ,SIEBEL.S_ORG_EXT ORG,SIEBEL.S_ACT_CONTACT CONACT WHERE SR.ASSET_ID = ASS.ROW_ID(+) AND ASS.BU_ID = O.PAR_ROW_ID(+) AND SR.CST_OU_ID=OX.PAR_ROW_ID(+) AND SR.X_DISPATCH_ID=CON.PAR_ROW_ID(+) AND SR.OWNER_EMP_ID=EMP.PAR_ROW_ID(+) AND SR.ROW_ID=SRX.PAR_ROW_ID(+) AND SR.CST_CON_ID=CON2.PAR_ROW_ID(+) AND SR.X_GEHC_IITS_QUEUE_OWNER = USR.ROW_ID(+) AND SR.ROW_ID = ACT .SRA_SR_ID(+) AND ACT.OWNER_PER_ID = CON4.PAR_ROW_ID(+) AND SR.CST_OU_ID = ORG.PAR_ROW_ID(+) AND ACT.ROW_ID = CONACT.ACTIVITY_ID(+) AND CONACT.CON_ID = CON3.ROW_ID(+) and SR.LAST_UPD >= to_date('10/14/2011','MM/DD/YYYY')
    Here is the snippet of the crawler log:
    06:05:21:307 INFO     filter_0          Queueing URL:http://iits-web-dev-01.am.health.ge.com:10091/emedical_enu/start.swe?SWECmd=GotoView&SWEView=Defects+Detail&SWERF=1&SWEBU=1&SWEApplet0=Product+Defect+Detail+Form+Applet&SWERowId0=1-2PDOEF, key:1-2PDOEF, lastmod:2011-10-13T06:25:09
    06:05:21:314 DEBUG     filter_1     JdbcDocumentQueueManager          batch dequeue(ms): 6 (5678859)
    06:05:21:314 INFO     filter_1          Dequeued http://iits-web-dev-01.am.health.ge.com:10091/emedical_enu/start.swe?SWECmd=GotoView&SWEView=Defects+Detail&SWERF=1&SWEBU=1&SWEApplet0=Product+Defect+Detail+Form+Applet&SWERowId0=1-2PDOEF
    06:05:21:314 DEBUG     filter_1          Access url is http://foo?key=1-2PDOEF&lastmod=2011-10-13T06:25:09 KEYVAL is 1-2PDOEF
    06:05:21:314 DEBUG     filter_0     JdbcDocumentQueueManager          existing Query(ms):0
    06:05:21:320 FATAL     filter_1          EQP-80407: Exception while processing document: ORA-00918: column ambiguously defined
    06:05:21:320 FATAL     filter_1     ORA-00918: column ambiguously defined
    java.sql.SQLException     oracle.jdbc.driver.DatabaseError:throwSqlException:125     oracle.jdbc.driver.T4CTTIoer:processError:316     oracle.jdbc.driver.T4CTTIoer:processError:282     oracle.jdbc.driver.T4C8Oall:receive:639     oracle.jdbc.driver.T4CPreparedStatement:doOall8:185     oracle.jdbc.driver.T4CPreparedStatement:execute_for_describe:503     oracle.jdbc.driver.OracleStatement:execute_maybe_describe:965     oracle.jdbc.driver.T4CPreparedStatement:execute_maybe_describe:535     oracle.jdbc.driver.OracleStatement:doExecuteWithTimeout:1051     oracle.jdbc.driver.OraclePreparedStatement:executeInternal:2984     oracle.jdbc.driver.OraclePreparedStatement:executeQuery:3026     oracle.search.plugin.appsjdbc.AppsJdbcPlugin:processDocuments:1084     oracle.search.plugin.appsjdbc.AppsJdbcPlugin:crawl:1456     oracle.search.crawler.CrawlingThread:run:1578
    We are using LAST_NAME column at diffrenet places in the query from S_CONTACT table using different joins. when I run the same query in SQL, not getting any error as we are using different join aliases.This is happening only when I use the same query to crawl the data in SES datasource.
    Any help on this would be highly appreciated.

    Hi Roger,
    Query format: SELECT * FROM (< your query >) WHERE KEY=<value>
    Can you please tell me what could be the value for "KEY=<value>"
    I have executed the query in SQL*Plus,as per the format as follows by passing sample row id of one record as KEY, but getting the Column ambiguity error.
    SELECT * FROM (SELECT 'SWERowId0='||SR.ROW_ID||''AS URL,SR.ROW_ID AS KEY, 'en' AS LANG,SR.LAST_UPD AS LASTMODIFIEDDATE,'SR#: ' ||SR.SR_NUM || CHR(13) || 'Asset Business Segment: '||O.NAME || CHR(13) || 'Installed At Customer Short Name: ' ||OX.ATTRIB_07 || CHR(13) || 'Dispatch To Last Name: ' ||CON.LAST_NAME || CHR(13) || 'Version: ' ||SRX.ATTRIB_07 || CHR(13) || 'Asset Description: ' ||ASS.DESC_TEXT || CHR(13) || 'Short Description: ' ||SR.X_GEHC_IITS_SHORT_DESCRIPTION || CHR(13) || 'Status: ' ||SR.SR_STAT_ID || CHR(13) || 'Responsible Queue: ' ||USR.LOGIN || CHR(13) || 'Created Date: ' ||SR.X_GEHC_IITS_CREATED || CHR(13) || 'Resolution: '||SR.X_RESOLUTION || CHR(13) || 'SPR ID: ' ||SRX.ATTRIB_41|| CHR(13) || 'Type: ' ||SR.SR_CAT_TYPE_CD || CHR(13) || 'SubType: ' ||SR.SR_SUBTYPE_CD || CHR(13) || 'Description: '||SR.DESC_TEXT || CHR(13) || 'Actual Problem: '|| SR.X_ACTUAL_PROBLEM || CHR(13) || 'Owner Last Name: '|| emp.LAST_NAME || CHR(13) || CHR(13) || 'Action: ' ||ACT.SUBTYPE_CD || CHR(13) || 'Type: ' ||ACT.TODO_CD || CHR(13) || 'Status: ' ||ACT.EVT_STAT_CD || CHR(13) || 'Comments: '||ACT.COMMENTS_LONG || CHR(13) ||CHR(13) ||CHR(13) || 'SR#: ' ||SR.SR_NUM || CHR(13) || 'Customer Name: ' ||ORG.NAME || CHR(13) || 'Created Date/Time: '||ACT.X_GEHC_IITS_CREATED || CHR(13) || 'Last Updated Date/Time: '||ACT.LAST_UPD || CHR(13) || 'Asset Business Segment: '||O.NAME || CHR(13) || 'Asset Description: ' ||ASS.DESC_TEXT || CHR(13) || 'Version: ' ||SRX.ATTRIB_07 || CHR(13) || 'Responsible Queue: ' ||USR.LOGIN || CHR(13) || 'Customer Short Name: '||OX.ATTRIB_07 || CHR(13) || 'SR Owner First Name: ' ||emp.FST_NAME || CHR(13) || 'SR Owner Last Name: ' ||emp.LAST_NAME || CHR(13) || 'Customer Contact: ' ||CON3.LAST_NAME|| CHR(13) || 'Owner Last Name: ' ||CON4.LAST_NAME as CONTENT,'SR #:' ||SR.SR_NUM || ' - ' || 'Activity#: ' ||ACT.ACTIVITY_UID as title,SR.SR_NUM as SR#,O.NAME as ASSETBUSINESSSEGMENT,OX.ATTRIB_07 as INSTALLEDATCUSTOMERSHORTNAME,CON.LAST_NAME as DISPATCHTOLASTNAME,SRX.ATTRIB_07 as VERSION,SR.SR_STAT_ID as SRSTATUS,USR.LOGIN as RESPONSIBLEQUEUE,SR.X_GEHC_IITS_CREATED as CREATEDDATE,ASS.DESC_TEXT as ASSETDESCRIPTION,SR.X_GEHC_IITS_SHORT_DESCRIPTION as SHORTDESCRIPTION,emp.LAST_NAME as OWNERLASTNAME,CON2.LAST_NAME as CONTACTLASTNAME,SR.LAST_UPD as LASTEDITEDUPDATEDDATE,ACT.EVT_STAT_CD as ACTIVITYSTATUS,ACT.X_GEHC_IITS_CREATED as CREATEDDATETIME,ACT.LAST_UPD as LASTUPDATEDDATETIME,CON3.LAST_NAME as CUSTOMERCONTACT,CON4.LAST_NAME as OWNERLASTNAME FROM SIEBEL.S_SRV_REQ SR,SIEBEL.S_ASSET ASS,SIEBEL.S_ORG_EXT O,SIEBEL.S_ORG_EXT_X OX,SIEBEL.S_CONTACT CON,SIEBEL.S_CONTACT emp,SIEBEL.S_SRV_REQ_X SRX,SIEBEL.S_CONTACT CON2,SIEBEL.S_USER USR,SIEBEL.S_EVT_ACT ACT,SIEBEL.S_CONTACT CON3,SIEBEL.S_CONTACT CON4 ,SIEBEL.S_ORG_EXT ORG,SIEBEL.S_ACT_CONTACT CONACT WHERE SR.ASSET_ID = ASS.ROW_ID(+) AND ASS.BU_ID = O.PAR_ROW_ID(+) AND SR.CST_OU_ID=OX.PAR_ROW_ID(+) AND SR.X_DISPATCH_ID=CON.PAR_ROW_ID(+) AND SR.OWNER_EMP_ID=EMP.PAR_ROW_ID(+) AND SR.ROW_ID=SRX.PAR_ROW_ID(+) AND SR.CST_CON_ID=CON2.PAR_ROW_ID(+) AND SR.X_GEHC_IITS_QUEUE_OWNER = USR.ROW_ID(+) AND SR.ROW_ID = ACT .SRA_SR_ID(+) AND ACT.OWNER_PER_ID = CON4.PAR_ROW_ID(+) AND SR.CST_OU_ID = ORG.PAR_ROW_ID(+) AND ACT.ROW_ID = CONACT.ACTIVITY_ID(+) AND CONACT.CON_ID = CON3.ROW_ID(+)) WHERE KEY='1-1MCO39'
    Please help me.
    Thanks
    Sandeep

  • ORA-01427 error configuring ORDS 3.0.0.65.09.31

    I got the error below when trying to configure ORDS 3.0.0.65.09.31 using the parameter file method.  I left all the defaults in exept for ords_params.properties, setting just db.hostname, db.port and db.servicename.
    Any ideas?
    Thanks,
    John
    C:\oracle\Oracle_REST_Data_Services\ords.3.0.0.65.09.31>java -jar ords.war install simple
    Enter the database password for ORDS_PUBLIC_USER:
    Confirm password:
    Please login with SYSDBA privileges to verify Oracle REST Data Services schema. Installation may be required.
    Enter the username with SYSDBA privileges to verify the installation [SYS]:
    Enter the database password for SYS:
    Confirm password:
    null
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:58)
    Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01427: single-row subquery returns more than one row
    ORA-06512: at line 5
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:392)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:385)
            at oracle.jdbc.driver.T4C7Ocommoncall.processError(T4C7Ocommoncall.java:91)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:522)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:257)
            at oracle.jdbc.driver.T4C7Ocommoncall.doOLOGOFF(T4C7Ocommoncall.java:59)
            at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:844)
            at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:2498)
            at oracle.dbtools.rt.config.setup.SchemaSetup.getSchemaVersion(SchemaSetup.java:223)
            at oracle.dbtools.rt.config.setup.SchemaSetup.addSchemaParams(SchemaSetup.java:85)
            at oracle.dbtools.rt.config.setup.SchemaSetup.schemaParams(SchemaSetup.java:42)
            at oracle.dbtools.rt.config.setup.Setup.execute(Setup.java:180)
            at oracle.dbtools.cmdline.DefaultCommand.execute(DefaultCommand.java:104)
            at oracle.dbtools.cmdline.Commands.execute(Commands.java:172)
            at oracle.dbtools.cmdline.Commands.main(Commands.java:135)
            at oracle.dbtools.cmdline.Commands.main(Commands.java:299)
            ... 5 more

    --context-path does not specify the location of the configuration folder, it specifies the path at which ORDS is deployed, in your case you have specified that ORDS should be available at:
    http://server:port/u01/ords.3.0.0.65.09.31_comndev_8088/configs/

  • OIM ORA-01427 error

    Gurus,
    Today, I got this error in my UAT server OIM 9.1.0.2. Anyone can help me on this, please?
    ERROR,25 Jun 2011 07:25:40,[XELLERATE.SERVER],Class/Method: tcObjectItemInfo/checkPasswordPolicy encounter some problems: {1}
    com.thortech.xl.orb.dataaccess.tcDataAccessException
    at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialPreparedStatement(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPreparedStatement(Unknown Source)
    at com.thortech.xl.dataobj.PreparedStatementUtil.execute(Unknown Source)
    at com.thortech.xl.dataobj.tcObjectItemInfo.checkPasswordPolicy(Unknown Source)
    at com.thortech.xl.dataobj.tcObjectItemInfo.eventPreInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addObjectFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl.addObjectFormChildData(tcFormInstanceOperations_2j82mm_EOImpl.java:1728)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_1030_WLStub.addObjectFormChildData(Unknown Source)
    at Thor.API.Operations.tcFormInstanceOperationsClient.addObjectFormChildData(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor997.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy65.addObjectFormChildData(Unknown Source)
    at com.bitur.service.RequestDataService.processObjectForms(RequestDataService.java:3082)
    at com.bitur.service.RequestDataService.genReqKeySumitNow(RequestDataService.java:2909)
    at com.bitur.struts2.requestVerification.RequestVerificationAction.submitNow(RequestVerificationAction.java:1232)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)
    at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)
    at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
    at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.bitur.struts2.security.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:171)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)
    at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by [Nested Exception]:
    java.sql.SQLException: ORA-01427: single-row subquery returns more than one row
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    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:1030)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:891)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3425)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1490)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialPreparedStatement(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPreparedStatement(Unknown Source)
    at com.thortech.xl.dataobj.PreparedStatementUtil.execute(Unknown Source)
    at com.thortech.xl.dataobj.tcObjectItemInfo.checkPasswordPolicy(Unknown Source)
    at com.thortech.xl.dataobj.tcObjectItemInfo.eventPreInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.addObjectFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.addObjectFormChildData(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl.addObjectFormChildData(tcFormInstanceOperations_2j82mm_EOImpl.java:1728)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl_1030_WLStub.addObjectFormChildData(Unknown Source)
    at Thor.API.Operations.tcFormInstanceOperationsClient.addObjectFormChildData(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor997.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy65.addObjectFormChildData(Unknown Source)
    at com.bitur.service.RequestDataService.processObjectForms(RequestDataService.java:3082)
    at com.bitur.service.RequestDataService.genReqKeySumitNow(RequestDataService.java:2909)
    at com.bitur.struts2.requestVerification.RequestVerificationAction.submitNow(RequestVerificationAction.java:1232)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)
    at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)
    at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
    at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)
    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at com.bitur.struts2.security.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:171)
    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
    at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)
    at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,25 Jun 2011 07:25:40,[XELLERATE.SERVER],Class/Method: tcTableDataObj/getString encounter some problems: Column 'UD_DELOY_OC_PASSWORD' not found
    com.thortech.xl.dataaccess.tcDataSetException: Column 'UD_DELOY_OC_PASSWORD' not found
    at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.getString(Unknown Source)
    thanks,

    On your form, do you have the field listed in the error? If this is a bug, i can only assume that the password policy during provisioning is looking for the field with the format supplied in the error for UD_FORMNAME_PASSWORD and it can't find the field. I would suggest creating this field for your password.
    -Kevin

  • Why having ORA-24344 error on my query?

    There are two tables one is sectors_main and emp_rem_view table. I don't know why i am having ORA-24344 error?
    Can anyone tell me why?
    SELECT
    ms_id, COUNT(*) cnt,
    NVL(ROUND(percentile_cont(0.25) within group (order by base_salary),0),0) bs_q1
    FROM (SELECT SECTORS_MAIN_ID,emp_id,base_salary,FAR,TAR,TR FROM EMP_REM_VIEW WHERE job_title_id=44) e,
    SECTORS_MAIN s
    WHERE s.ms_id = e.SECTORS_MAIN_ID (+)
    GROUP BY ms_id
    The funny things is from below query. if the recodes of the tmp table are less than 24 rows, then I can get a result, but if the rows are more than 24, i am having the same error as the above query.
    WITH tmp AS(
    select 123 ms_id FROM dual UNION ALL
    select 129 ms_id FROM dual UNION ALL
    select 100 ms_id FROM dual UNION ALL
    select 121 ms_id FROM dual UNION ALL
    select 128 ms_id FROM dual UNION ALL
    select 120 ms_id FROM dual UNION ALL
    select 132 ms_id FROM dual UNION ALL
    select 108 ms_id FROM dual UNION ALL
    select 102 ms_id FROM dual UNION ALL
    select 119 ms_id FROM dual UNION ALL
    select 117 ms_id FROM dual UNION ALL
    select 125 ms_id FROM dual UNION ALL
    select 101 ms_id FROM dual UNION ALL
    select 107 ms_id FROM dual UNION ALL
    select 130 ms_id FROM dual UNION ALL
    select 131 ms_id FROM dual UNION ALL
    select 104 ms_id FROM dual UNION ALL
    select 105 ms_id FROM dual UNION ALL
    select 109 ms_id FROM dual UNION ALL
    select 124 ms_id FROM dual UNION ALL
    select 122 ms_id FROM dual UNION ALL
    select 106 ms_id FROM dual UNION ALL
    select 118 ms_id FROM dual UNION ALL
    select 126 ms_id FROM dual
    SELECT
    ms_id, COUNT(*) cnt
    ,NVL(ROUND(percentile_cont(0.25) within group (order by base_salary),0),0) bs_q1
    FROM (SELECT SECTORS_MAIN_ID,emp_id,base_salary,FAR,TAR,TR FROM EMP_REM_VIEW WHERE job_title_id=44) e,
    tmp s
    where s.ms_id = e.SECTORS_MAIN_ID (+)
    GROUP BY ms_id
    Edited by: 870226 on Jul 4, 2011 11:10 PM

    this is one of examples, the below query is working only if the tmp table has no more then 24 rows, i am now looking at the limitation of join now if there is such a things in there, but the below query is not working on my oracle 11g r2
    WITH tmp AS(
    select 123 ms_id FROM dual UNION ALL
    select 129 ms_id FROM dual UNION ALL
    select 100 ms_id FROM dual UNION ALL
    select 121 ms_id FROM dual UNION ALL
    select 128 ms_id FROM dual UNION ALL
    select 120 ms_id FROM dual UNION ALL
    select 132 ms_id FROM dual UNION ALL
    select 108 ms_id FROM dual UNION ALL
    select 102 ms_id FROM dual UNION ALL
    select 119 ms_id FROM dual UNION ALL
    select 117 ms_id FROM dual UNION ALL
    select 125 ms_id FROM dual UNION ALL
    select 101 ms_id FROM dual UNION ALL
    select 107 ms_id FROM dual UNION ALL
    select 130 ms_id FROM dual UNION ALL
    select 131 ms_id FROM dual UNION ALL
    select 104 ms_id FROM dual UNION ALL
    select 105 ms_id FROM dual UNION ALL
    select 109 ms_id FROM dual UNION ALL
    select 124 ms_id FROM dual UNION ALL
    select 122 ms_id FROM dual UNION ALL
    select 106 ms_id FROM dual UNION ALL
    select 118 ms_id FROM dual UNION ALL
    select 111 ms_id FROM dual UNION ALL
    select 103 ms_id FROM dual UNION ALL
    select 127 ms_id FROM dual UNION ALL
    select 126 ms_id FROM dual
    ), tmp2 AS(
    select 121 sectors_main_id, 1 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 2 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 3 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 4 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 5 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 6 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 7 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 8 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 9 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 10 emp_id, 10000 base_salary from dual union all
    select 121 sectors_main_id, 11 emp_id, 10000 base_salary from dual
    SELECT
    ms_id, COUNT(*) cnt
    ,NVL(ROUND(percentile_cont(0.25) within group (order by base_salary),0),0) bs_q1
    ,NVL(ROUND(percentile_cont(0.5) within group (order by base_salary),0),0) bs_median
    ,NVL(ROUND(percentile_cont(0.5) within group (order by base_salary),0),0) bs_median
    FROM tmp2 e,
    tmp s
    where s.ms_id = e.SECTORS_MAIN_ID (+)
    GROUP BY ms_id

  • ORA-01427: using XML Shredding query

    Oracle version: 10.2.0.4.0
    Hello. I want to shred the following XML into relational form so I can insert the results into a table:
    <?xml version="1.0" encoding="UTF-8"?>
    <ContentEnvelope xmlns="http://data.schemas.tfn.orgname.com/Envelope/2007-10-29/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://data.schemas.tfn.orgname.com/Envelope/2007-10-29/Tests.xsd" majorVersion="0" minorVersion="0.1" publishingStyle="FULL">
    <Header>
    <Info>
    <Id>2563653D10DF394085FED1CC358E2C</Id>
    <TimeStamp>2008-04-17 23:51:17</TimeStamp>
    </Info>
    </Header>
    <Body majorVersion="0" minorVersion="0.1" contentSet="Tests">
    <ContentItem action="Insert">
    <Data>
    <MAElement dealId="1864795040">
    <TestCurrencyCode>STG</TestCurrencyCode>
    <TestStatusCode>P</TestStatusCode>
    <TestAmtOrIDDate>2007-05-07</TestAmtOrIDDate>
    <TestCreateDate>2007-05-04</TestCreateDate>
    <TestUpdateDate>2008-03-27</TestUpdateDate>
    <MAElementStructure>
    <TestEVExcCpInf>13016605000</TestEVExcCpInf>
    <TempEVAtAmt>8864948000</TempEVAtAmt>
    <NOSORFI>33200000</NOSORFI>
    <POBAPM>76</POBAPM>
    <CSIDdBA>201049088</CSIDdBA>
    <CSSTBA>1256556797</CSSTBA>
    <SpinoffEstSP>0</SpinoffEstSP>
    <STOptionAverageExercisePCR>3.56</STOptionAverageExercisePCR>
    <STOptionProceedsBasedOnAverageExercisePCR>113030000</STOptionProceedsBasedOnAverageExercisePCR>
    <POOrder>51.245</POOrder>
    <POOther>0</POOther>
    <POST>48.755</POST>
    <POPprOwnedAfterTR>0</POPprOwnedAfterTR>
    <POAcqPprIDd>23.892</POAcqPprIDd>
    <POPprHeldBAAtAdDate>0</POPprHeldBAAtAdDate>
    <SPPaidBAForXYZPpr>6.965</SPPaidBAForXYZPpr>
    <PctgChangeFinalORFPCRToINTORFPCR>0</PctgChangeFinalORFPCRToINTORFPCR>
    <POPprAcqSeekingToOwnAfterTR>100</POPprAcqSeekingToOwnAfterTR>
    <POPprTRedInTRORF>0</POPprTRedInTRORF>
    <PctgOwnedByXYZPostSymb>24</PctgOwnedByXYZPostSymb>
    <EVOfOrder>4542393000</EVOfOrder>
    <EVOfCMST>4321751000</EVOfCMST>
    <EVOfTempBasedOnMMtt>10017260000</EVOfTempBasedOnMMtt>
    <EVOfTempAtStartDate>10017260000</EVOfTempAtStartDate>
    <PctOfPprSTInTRORF>0</PctOfPprSTInTRORF>
    </MAElementStructure>
    <IsCLLBreached>false</IsCLLBreached>
    <CostToSpndCS>8751114000</CostToSpndCS>
    <CostToSpndConvertibleSRCS>113030000</CostToSpndConvertibleSRCS>
    <FormOfTestCode>M</FormOfTestCode>
    <INTReceptionCode>A</INTReceptionCode>
    <MAElementTypeCode>DI</MAElementTypeCode>
    <INTORFPCR>6965000</INTORFPCR>
    <CLLStatus>P</CLLStatus>
    <TargetTermnationFee>87</TargetTermnationFee>
    <TestEV>8864144000</TestEV>
    <SourceUsedForTestValCode>RNS</SourceUsedForTestValCode>
    <TestAttitudeCode>F</TestAttitudeCode>
    <RankEVOfTR>9185144000</RankEVOfTR>
    <ImpliedTestEV>8751918000</ImpliedTestEV>
    <TestEVExcludingCpinFun>8864144000</TestEVExcludingCpinFun>
    <TestEVExcludingXtrFlown>8864144000</TestEVExcludingXtrFlown>
    <IsStandardRankingEligible>true</IsStandardRankingEligible>
    <TRTypeCode>MERG</TRTypeCode>
    <TestEVExcludingFlownXtrAtTestStartDate>17628123000</TestEVExcludingFlownXtrAtTestStartDate>
    <GTmanTTFees>86711000</GTmanTTFees>
    <SymmetricCLL>false</SymmetricCLL>
    <TestParticipants>
    <TestParticipant dealParticipantId="76132M" participantRoleCode="TARGET">
    <TerminationFee>86800000</TerminationFee>
    <TestMentors>
    <TestMentor mentorOrganizationId="09253U" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-10</MentorAddedDate>
    <MentorRoleAndCredit>something here</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>another desc</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    <TestMentorAssignment mentorAssignmentCode="FO"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="11524W" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-04</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="172967" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-15</MentorAddedDate>
    <MentorRoleAndCredit>another thing</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>some desc</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="EC"/>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="23868X" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-05-10</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="53581E" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-05</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="61698W" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-15</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="EC"/>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="61750L" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-14</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - CITIGROUP - Adv,ECM</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>plenty desc</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="83117R" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-05-18</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="86065K" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-05-20</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="90248E" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-10</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - UBS-INV-BANK - Adv,ECM,F Opin</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>yet another desc</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="EC"/>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    <TestMentorAssignment mentorAssignmentCode="FO"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="94864A" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-05-23</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>9220000</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    </TestMentors>
    <TestParticipantOtherMMtt>
    <InsurancePremiums>0</InsurancePremiums>
    <TTJJDeposits>0</TTJJDeposits>
    </TestParticipantOtherMMtt>
    </TestParticipant>
    <TestParticipant dealParticipantId="884903" participantRoleCode="ACQUIRER">
    <TerminationFee>86800000</TerminationFee>
    <TestMentors>
    <TestMentor mentorOrganizationId="01751J" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-06</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="063671" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-23</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - BANK-MONTREAL - Adv</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>abc</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="07383Z" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-10</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - BEAR - Adv,F Opin</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>efg</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    <TestMentorAssignment mentorAssignmentCode="FO"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="09962E" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-13</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="35645K" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-11-27</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="35805N" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-15</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="52751T" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-11-13</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="71354R" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-10</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - PERELLA-WP - Adv</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>hij</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="74897K" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-23</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - RBC-CAP-MKTS - Adv</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>klm</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    <TestMentor mentorOrganizationId="82086P" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-09-06</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="83014W" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-01</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="89089Q" mentorTypeCode="LEGAL">
    <MentorAddedDate>2007-06-04</MentorAddedDate>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <MentorLegalCredit>18266.496</MentorLegalCredit>
    <TTMentorFee>0</TTMentorFee>
    </TestMentor>
    <TestMentor mentorOrganizationId="89117A" mentorTypeCode="FINANCIAL">
    <MentorAddedDate>2007-05-15</MentorAddedDate>
    <MentorRoleAndCredit>$ 18,266.496 - TD-SRCS - Adv</MentorRoleAndCredit>
    <MentorRoleAndCreditLongDescription>nop</MentorRoleAndCreditLongDescription>
    <RankMentorMultiplierEV>1</RankMentorMultiplierEV>
    <IsRankingIneligible>false</IsRankingIneligible>
    <GTmanImputedMentorFee>8122140</GTmanImputedMentorFee>
    <TTMentorFee>0</TTMentorFee>
    <TestMentorAssignments>
    <TestMentorAssignment mentorAssignmentCode="FA"/>
    </TestMentorAssignments>
    </TestMentor>
    </TestMentors>
    <TestParticipantOtherMMtt>
    <InsurancePremiums>0</InsurancePremiums>
    <TTJJDeposits>0</TTJJDeposits>
    </TestParticipantOtherMMtt>
    </TestParticipant>
    </TestParticipants>
    <MAElementMultiples>
    <PCRDocPremiumToDocEVDiff>5656.198</PCRDocPremiumToDocEVDiff>
    <ORFPCRToEpsDiff>30.819</ORFPCRToEpsDiff>
    <ORFPCRToDocEVDiff>57.562</ORFPCRToDocEVDiff>
    <TestEVToSalesDiff>3.454</TestEVToSalesDiff>
    <RankEVToEbitdaDiff>23.982</RankEVToEbitdaDiff>
    <RankEVToEbitDiff>37.955</RankEVToEbitDiff>
    <RankEVToNetTKsDiff>53.402</RankEVToNetTKsDiff>
    <RankEVToNetGuideDiff>31.349</RankEVToNetGuideDiff>
    <RankEVToSalesDiff>3.58</RankEVToSalesDiff>
    <TestEVToEbitdaDiff>23.144</TestEVToEbitdaDiff>
    <TestEVToEbitDiff>36.629</TestEVToEbitDiff>
    <TestEVToCMTempDiff>51.536</TestEVToCMTempDiff>
    <TestEVToNetTKsDiff>51.536</TestEVToNetTKsDiff>
    <TestEVToNetGuideDiff>30.253</TestEVToNetGuideDiff>
    <TestEVExcludingFlownXtrToEbitdaDiff>23.144</TestEVExcludingFlownXtrToEbitdaDiff>
    <TestEVExcludingFlownXtrToEbitDiff>36.629</TestEVExcludingFlownXtrToEbitDiff>
    <TestEVExcludingFlownXtrToNetGuideDiff>30.253</TestEVExcludingFlownXtrToNetGuideDiff>
    <TestEVExcludingFlownXtrToPretaxGuideDiff>27.963</TestEVExcludingFlownXtrToPretaxGuideDiff>
    <TestEVExcludingFlownXtrToSalesDiff>3.454</TestEVExcludingFlownXtrToSalesDiff>
    <ImpliedTestEVToCMTempDiff>50.883</ImpliedTestEVToCMTempDiff>
    <ImpliedTestEVToNetGuideDiff>29.87</ImpliedTestEVToNetGuideDiff>
    <ImpliedTestEVToPretaxGuideDiff>27.609</ImpliedTestEVToPretaxGuideDiff>
    </MAElementMultiples>
    <TestHistoryEvents>
    <TestHistoryEvent>
    <HistoryEventDate>2007-05-04 00:00:00</HistoryEventDate>
    <TestHistoryEventDescriptions>
    <TestHistoryEventDescription>
    <HistoryEventDescription>Some plans arerumored</HistoryEventDescription>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestHistoryEventDescription>
    </TestHistoryEventDescriptions>
    </TestHistoryEvent>
    <TestHistoryEvent>
    <HistoryEventDate>2007-05-07 00:00:00</HistoryEventDate>
    <TestHistoryEventDescriptions>
    <TestHistoryEventDescription>
    <HistoryEventDescription>Some plans aredisclosed</HistoryEventDescription>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestHistoryEventDescription>
    </TestHistoryEventDescriptions>
    </TestHistoryEvent>
    <TestHistoryEvent>
    <HistoryEventCurrencyCode>STG</HistoryEventCurrencyCode>
    <HistoryEventDate>2007-05-08 00:00:00</HistoryEventDate>
    <HistoryEventDateOfExchangeRate>2007-05-08 00:00:00</HistoryEventDateOfExchangeRate>
    <TestHistoryEventDescriptions>
    <TestHistoryEventDescription>
    <HistoryEventDescription>Terms are disclosed</HistoryEventDescription>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestHistoryEventDescription>
    </TestHistoryEventDescriptions>
    </TestHistoryEvent>
    <TestHistoryEvent>
    <HistoryEventCurrencyCode>STG</HistoryEventCurrencyCode>
    <HistoryEventDate>2007-05-15 00:00:00</HistoryEventDate>
    <HistoryEventDateOfExchangeRate>2007-05-08 00:00:00</HistoryEventDateOfExchangeRate>
    <TestHistoryEventDescriptions>
    <TestHistoryEventDescription>
    <HistoryEventDescription>Symb agreement is disclosed</HistoryEventDescription>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestHistoryEventDescription>
    </TestHistoryEventDescriptions>
    </TestHistoryEvent>
    <TestHistoryEvent>
    <HistoryEventCurrencyCode>STG</HistoryEventCurrencyCode>
    <HistoryEventDate>2007-05-15 00:00:00</HistoryEventDate>
    <HistoryEventDateOfExchangeRate>2007-05-08 00:00:00</HistoryEventDateOfExchangeRate>
    <TestHistoryEventDescriptions>
    <TestHistoryEventDescription>
    <HistoryEventDescription>Thomson &amp; Reuters&apos; boardsrecommend merger</HistoryEventDescription>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestHistoryEventDescription>
    </TestHistoryEventDescriptions>
    </TestHistoryEvent>
    </TestHistoryEvents>
    <TestCharacteristics>
    <TestCharacteristicTypeCode>ISV</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>PRD</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>RUMOR</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>SCHEME</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>SFBOR</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>SFBRIDGE</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>SFCORP</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>STR</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>SYN</TestCharacteristicTypeCode>
    <IsRankingEV>true</IsRankingEV>
    <IsPortfolioCompanyActivity>false</IsPortfolioCompanyActivity>
    <IsDefensiveWhiteSquire>false</IsDefensiveWhiteSquire>
    </TestCharacteristics>
    <MAElementPurchs>
    <TestPurch>
    <PurchTypeCode>CASH</PurchTypeCode>
    <PurchCategory>OFFERED</PurchCategory>
    </TestPurch>
    <TestPurch>
    <PurchTypeCode>ORD</PurchTypeCode>
    <PurchCategory>OFFERED</PurchCategory>
    </TestPurch>
    <TestPurch>
    <PurchTypeCode>OPT</PurchTypeCode>
    <PurchCategory>SOUGHT</PurchCategory>
    </TestPurch>
    <TestPurch>
    <PurchTypeCode>ORD</PurchTypeCode>
    <PurchCategory>SOUGHT</PurchCategory>
    </TestPurch>
    </MAElementPurchs>
    <TestDescriptions>
    <TestDescription>
    <DescriptionCode>MULT_NOTES</DescriptionCode>
    <DescriptionText>Here is some text</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    <TestDescription>
    <DescriptionCode>OPTIONS_DESC</DescriptionCode>
    <DescriptionText>and some more</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    <TestDescription>
    <DescriptionCode>PURPOSE</DescriptionCode>
    <DescriptionText>it goes on</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    <TestDescription>
    <DescriptionCode>SF</DescriptionCode>
    <DescriptionText>and on</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    <TestDescription>
    <DescriptionCode>SYNOPSIS</DescriptionCode>
    <DescriptionText>and on for a while</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    </TestDescriptions>
    <TestDates>
    <TestDate dateTypeCode="DATEEFFEXP">
    <TestDateEV>2008-04-17</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="DATEANNORIG">
    <TestDateEV>2007-05-04</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="DATECOM">
    <TestDateEV>2007-05-07</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="DATEVAL">
    <TestDateEV>2007-05-08</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="SIG_UPDATE">
    <TestDateEV>2007-05-23</TestDateEV>
    </TestDate>
    </TestDates>
    <RegulatoryAgencies>
    <RegulatoryAgencyCode>EC</RegulatoryAgencyCode>
    <RegulatoryAgencyCode>RA</RegulatoryAgencyCode>
    </RegulatoryAgencies>
    <TestInfoSources>
    <TestInfoSource dealInfoSourceCode="WS">
    <TestInfoSourceTypeCode>FINSRC</TestInfoSourceTypeCode>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="WS">
    <TestInfoSourceTypeCode>A</TestInfoSourceTypeCode>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="RT">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="WS">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="RNS">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-08</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="20F">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-08</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="AM">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-08</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="RNS">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-15</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="AM">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-15</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="6K">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-06-01</TestInfoSourceDate>
    </TestInfoSource>
    </TestInfoSources>
    </MAElement>
    </Data>
    </ContentItem>
    <ContentItem action="Insert">
    <Data>
    <MAElement dealId="1864899020">
    <TestStatusCode>P</TestStatusCode>
    <TestAOrIDate>2008-02-01</TestAOrIDate>
    <TestCreateDate>2007-05-04</TestCreateDate>
    <TestUpdateDate>2008-04-15</TestUpdateDate>
    <MAElementStructure>
    <CSSTBA>1469486513</CSSTBA>
    <SpinoffEstSP>0</SpinoffEstSP>
    <POOrder>50</POOrder>
    <POOther>0</POOther>
    <POST>50</POST>
    <POPprOwnedAfterTR>0</POPprOwnedAfterTR>
    <POAcqPprIDd>0</POAcqPprIDd>
    <POPprHeldBAAtAdDate>0</POPprHeldBAAtAdDate>
    <SPPaidBAForXYZPpr>31</SPPaidBAForXYZPpr>
    <PctgChangeFinalORFPCRToINTORFPCR>0</PctgChangeFinalORFPCRToINTORFPCR>
    <POPprAcqSeekingToOwnAfterTR>100</POPprAcqSeekingToOwnAfterTR>
    <POPprTRedInTRORF>0</POPprTRedInTRORF>
    <EVOfOrder>21855801000</EVOfOrder>
    <EVOfCMST>21855800000</EVOfCMST>
    <IsEVOfUndeterminedPurchEstimates>false</IsEVOfUndeterminedPurchEstimates>
    <EVOfTempBasedOnMMtt>43537945000</EVOfTempBasedOnMMtt>
    <EVOfTempAtStartDate>43537945000</EVOfTempAtStartDate>
    <PctOfPprSTInTRORF>0</PctOfPprSTInTRORF>
    </MAElementStructure>
    <IsCLLBreached>false</IsCLLBreached>
    <IsChoiceOfPurch>true</IsChoiceOfPurch>
    <CostToSpndCS>41429324000</CostToSpndCS>
    <CostToSpndConvertibleSRCS>2282277000</CostToSpndConvertibleSRCS>
    <FormOfTestCode>M</FormOfTestCode>
    <INTReceptionCode>U</INTReceptionCode>
    <MAElementTypeCode>DI</MAElementTypeCode>
    <INTORFPCR>31000000</INTORFPCR>
    <CLLStatus>P</CLLStatus>
    <TestEV>43711601000</TestEV>
    <SourceUsedForTestValCode>AM</SourceUsedForTestValCode>
    <TestAttitudeCode>U</TestAttitudeCode>
    <RankEVOfTR>41860117000</RankEVOfTR>
    <ImpliedTestEV>45554082000</ImpliedTestEV>
    <TestEVExcludingCpinFun>43711601000</TestEVExcludingCpinFun>
    <TestEVExcludingXtrFlown>43711601000</TestEVExcludingXtrFlown>
    <IsStandardRankingEligible>true</IsStandardRankingEligible>
    <TRTypeCode>MERG</TRTypeCode>
    <TestEVExcludingFlownXtrAtTestStartDate>43711601000</TestEVExcludingFlownXtrAtTestStartDate>
    <GTmanTTFees>0</GTmanTTFees>
    <SymmetricCLL>false</SymmetricCLL>
    <TestParticipants>
    <TestParticipant dealParticipantId="594918" participantRoleCode="ACQUIRER">
    <TestParticipantOtherMMtt>
    <InsurancePremiums>0</InsurancePremiums>
    <TTJJDeposits>0</TTJJDeposits>
    </TestParticipantOtherMMtt>
    </TestParticipant>
    <TestParticipant dealParticipantId="984332" participantRoleCode="TARGET">
    <TestParticipantOtherMMtt>
    <InsurancePremiums>0</InsurancePremiums>
    <TTJJDeposits>-921927000</TTJJDeposits>
    </TestParticipantOtherMMtt>
    </TestParticipant>
    </TestParticipants>
    <MAElementMultiples>
    <PCRDocPremiumToDocEVDiff>350.385</PCRDocPremiumToDocEVDiff>
    <ORFPCRToEpsDiff>45.667</ORFPCRToEpsDiff>
    <ORFPCRToDocEVDiff>4.504</ORFPCRToDocEVDiff>
    <TestEVToSalesDiff>119.186</TestEVToSalesDiff>
    <RankEVToNetTKsDiff>4.566</RankEVToNetTKsDiff>
    <RankEVToNetGuideDiff>43.733</RankEVToNetGuideDiff>
    <RankEVToSalesDiff>114.137</RankEVToSalesDiff>
    <TestEVToCMTempDiff>4.772</TestEVToCMTempDiff>
    <TestEVToNetTKsDiff>4.767</TestEVToNetTKsDiff>
    <TestEVToNetGuideDiff>45.667</TestEVToNetGuideDiff>
    <TestEVExcludingFlownXtrToNetGuideDiff>45.667</TestEVExcludingFlownXtrToNetGuideDiff>
    <TestEVExcludingFlownXtrToPretaxGuideDiff>393.961</TestEVExcludingFlownXtrToPretaxGuideDiff>
    <TestEVExcludingFlownXtrToSalesDiff>119.186</TestEVExcludingFlownXtrToSalesDiff>
    <ImpliedTestEVToCMTempDiff>4.973</ImpliedTestEVToCMTempDiff>
    <ImpliedTestEVToNetGuideDiff>47.592</ImpliedTestEVToNetGuideDiff>
    <ImpliedTestEVToPretaxGuideDiff>410.567</ImpliedTestEVToPretaxGuideDiff>
    </MAElementMultiples>
    <TestHistoryEvents>
    <TestHistoryEvent>
    <HistoryEventDate>2007-05-04 00:00:00</HistoryEventDate>
    <TestHistoryEventDescriptions>
    <TestHistoryEventDescription>
    <HistoryEventDescription>Symb negotiations are rumored</HistoryEventDescription>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestHistoryEventDescription>
    </TestHistoryEventDescriptions>
    </TestHistoryEvent>
    </TestHistoryEvents>
    <TestCharacteristics>
    <TestCharacteristicTypeCode>EPM</TestCharacteristicTypeCode>
    <TestCharacteristicTypeCode>RUMOR</TestCharacteristicTypeCode>
    <IsRankingEV>true</IsRankingEV>
    <IsPortfolioCompanyActivity>false</IsPortfolioCompanyActivity>
    <IsDefensiveWhiteSquire>false</IsDefensiveWhiteSquire>
    </TestCharacteristics>
    <MAElementPurchs>
    <TestPurch>
    <PurchTypeCode>NA</PurchTypeCode>
    <PurchCategory>OFFERED</PurchCategory>
    </TestPurch>
    <TestPurch>
    <PurchTypeCode>COM</PurchTypeCode>
    <PurchCategory>SOUGHT</PurchCategory>
    </TestPurch>
    </MAElementPurchs>
    <TestDescriptions>
    <TestDescription>
    <DescriptionCode>PURPOSE</DescriptionCode>
    <DescriptionText>this field is large</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    <TestDescription>
    <DescriptionCode>SYNOPSIS</DescriptionCode>
    <DescriptionText>yes</DescriptionText>
    <LanguageCode>en</LanguageCode>
    <LanguageScriptCode>en-US</LanguageScriptCode>
    </TestDescription>
    </TestDescriptions>
    <TestDates>
    <TestDate dateTypeCode="DATECOM">
    <TestDateEV>2008-01-31</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="SIG_UPDATE">
    <TestDateEV>2008-02-11</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="DATEVAL">
    <TestDateEV>2008-02-01</TestDateEV>
    </TestDate>
    <TestDate dateTypeCode="DATEEFFEXP">
    <TestDateEV>2008-12-31</TestDateEV>
    </TestDate>
    </TestDates>
    <TestInfoSources>
    <TestInfoSource dealInfoSourceCode="WS">
    <TestInfoSourceTypeCode>A</TestInfoSourceTypeCode>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="WS">
    <TestInfoSourceTypeCode>FINSRC</TestInfoSourceTypeCode>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="NYP">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="10K">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="10Q">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="BSW">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    <TestInfoSource dealInfoSourceCode="NR">
    <TestInfoSourceTypeCode>SOURCE</TestInfoSourceTypeCode>
    <TestInfoSourceDate>2007-05-04</TestInfoSourceDate>
    </TestInfoSource>
    </TestInfoSources>
    </MAElement>
    </Data>
    </ContentItem>
    </Body>
    </ContentEnvelope>
    This is what I've tried (subset_2.xml is the XML above):
    DROP TABLE ray_test_6;
    CREATE TABLE ray_test_6
    (id NUMBER
    ,data XMLTYPE
    INSERT INTO ray_test_6
    (id
    ,data
    VALUES
    (1
    ,XMLTYPE(BFILENAME('SDI_RAY','subset_2.xml'), NLS_CHARSET_ID('AL32UTF8'))
    Now, I try to shred the XML using the following statement to get all TestStatusCode nodes:
    SELECT *
    FROM XMLTABLE('//Body/ContentItem/Data/MAElement'
    PASSING (SELECT VALUE(e)
    FROM ray_test_6
    ,TABLE(XMLSEQUENCE(EXTRACT(data
    ,'ContentEnvelope/*'
    ,'xmlns="http://data.schemas.tfn.orgname.com/Envelope/2007-10-29/"'))) e)
    COLUMNS prod VARCHAR2(20) PATH 'TestStatusCode');
    but I get the following error:
    PASSING (SELECT VALUE(e)
    ERROR at line 3:
    ORA-01427: single-row subquery returns more than one row
    I can't see what I'm doing wrong. Can anyone help?
    Thanks,
    Ray

    try this
    select x.*
    from ray_test_6 r
    ,xmltable(xmlnamespaces(default 'http://data.schemas.tfn.orgname.com/Envelope/2007-10-29/')
    ,'for $i in /ContentEnvelope/Body/ContentItem/Data/MAElement
    return $i'
    passing r.data
    columns status varchar2(30) path 'TestStatusCode'
         ,upd_date date path 'TestUpdateDate'
         ,crt_date date path 'TestCreateDate') x; Ants

Maybe you are looking for

  • MR11 report

    Hello Experts, MR11 report (SAPRCKM_MR11 program) doesn't have the ALV grid display and hence we are not able to download the report into excel. I have seen few posts saying to change the 'Scope of list' from BEST to ALV in the config. Will this real

  • Opening a bounded taskflow in a new browser window.

    Hello, I have links in my application that open the application in a new browser window. window.open(/MFRAME/faces/adf.task-flow?adf.tfId=moduleDataMan&adf.tfDoc=/WEB-INF/flows/moduleDataMan/moduleDataMan.xml, "w"+new Date().getTime()); When I open t

  • Can I hook an HP envy 5530 wireless printer, to my HP Pavillion a1610n

    I am trying to hook up the wireless printer to my older (2006) desktop, so we an connect our laptop and smart phone all on one network. I have cable with a router for operating the laptop and smart tv.  Can  hook this desk top up to this printer, and

  • How do i get photos from my laptop onto my i touch 2nd gen

    ive synced the photo file from my laptop of pics i want on there. shared it with apple tv. but no pics in my photos section on my i touch?

  • I click on buy and it does nothing

    I click on buy song and nothing happens.