Too many values are related...

Hi all


I generate the report in dev and tested, working fine.i have exported and imported prod, have too many values in a cell.

Can someone tell me what is the problem...


Thank you

I could be totally wrong, but I think I remember a question like that. Modification of data query optimization settings solved a similar problem. Reading this: http://docs.oracle.com/cd/E12825_01/epm.111/fr_user/25000334.html-and play with couple of different parameters. I would start by comparing the settings in different environments.

See you soon,.
Mehmet

Tags: Business Intelligence

Similar Questions

  • Dashboard quickly too many values of constraint

    I have a requirement where the user wants to select among the thousands of available records. When you create a dashboard prompt that it takes only 250 values and remaining wrote too many values.

    My question is why you would build a prompt with the values a lot? I know you said the 'user wants', but sometimes you have to educate the (and when I say 'them' several times, it's a few loud people who just shout the loudest and so achieve their ends) that what they want isn't always the best. I think that it is virtually impossible to have to sift through thousands of values to find the one you want.

    However, if the values are to be given, I would recommend penetrate blocked guests indicating on the label invited a range of values, so that each of them has a 'reasonable' values list and the user can directly access which "invites the high-end" will contain the value he wants.

  • An error of Dimension to slow variation: too many values

    Hello
    Trying to implement using the CPCS? IKM dimension to slow variation on all columns with their descriptions

    but, when I execute the lines 8 old Historize interface, that it was not

    Error message:

    913: 42000: java.sql.SQLException: ORA-00913: too many values

    java.sql.SQLException: ORA-00913: too many values

    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)

    I have only on 93 records

    can someone help me on this?

    Thank you
    Saichand.v

    Published by: André Varanasi on October 4, 2010 16:26

    SAI,

    The query I've deduced the following:
    1. natural key is DATASOURCE_ID
    2. you have 2 columns marked as end IFL stamp - T.AUX_DATE2, T.AUX_DATE4
    3. you have 3 columns marked as IFL Start Timestamp - S.INS_EXP_DT, S.AUX_DATE1, S.AUX_DATE3

    Apart from the error you are getting, there is another error you get - not enough columns.
    >
    Set)
    T.FLAG
    ,
    T.AUX_DATE2,
    T.AUX_DATE4
    ) = (
    Select 0
    ,
    S.INS_EXP_DT,
    S.AUX_DATE1,
    S.AUX_DATE3
    André. ' ' I$ _WC_CAR_Test "S
    >
    You try to define 3 columns, while the select statement has 4 columns.
    And this is due to the fact that you have more columns marked as start date of the SCD and SCD End Date.
    I met this interesting scenario, I think that the KMs are built to handle only a single column to be marked as SCD Start Date and another a column to be marked as SCD End Date.
    And it is consistent with the definition of the Type 2 SCD.

    Now, the error you get currently - as you have mentioned earlier that your Datasource_id is constant = 1. So, you have a natural key which is always 1 for all 93 records!
    Don't you think that it is good natural key?

  • ORA-00913: too many values

    Hello

    I RAN
    select T.bill_no,T.bill_date,T.vehicle_no,T.PARTY_NAME,SUM(T.AMOUNT),SUM(T.VAT_AMOUNT),
    (select SUM(L.LABOUR_AMT),SUM(L.SERVICE_TAX_AMT) from LAB_WORK_DTL L where T.BILL_NO=L.BILL_NO(+)) from transaction_details T 
    where T.BILL_NO =:P27_BILL_NO GROUP BY T.bill_no,T.bill_date,T.vehicle_no,T.PARTY_NAME
    Then the results are:-ORA-00913: too many values

    Why is this error. Where is the problem in my code.

    Thank you

    Hello Maury,
    What exactly are you trying to achieve in this query

    select SUM(L.LABOUR_AMT), SUM(L.SERVICE_TAX_AMT)
              from LAB_WORK_DTL L
             where T.BILL_NO = L.BILL_NO(+)
    

    You can not have 2 values there SUM (L.LABOUR_AMT) and SUM (L.SERVICE_TAX_AMT).
    Do you intend to add them or perform any other operation.
    If no, and you need these values separately it is a way to do

    select T.bill_no,
           T.bill_date,
           T.vehicle_no,
           T.PARTY_NAME,
           SUM(T.AMOUNT),
           SUM(T.VAT_AMOUNT),
           (select SUM(L.LABOUR_AMT)
              from LAB_WORK_DTL L
             where T.BILL_NO = L.BILL_NO) LABOUR_AMT,
           (select SUM(L.SERVICE_TAX_AMT)
              from LAB_WORK_DTL L
             where T.BILL_NO = L.BILL_NO) SERVICE_TAX_AMT
      from transaction_details T
     where T.BILL_NO = :P27_BILL_NO
     GROUP BY T.bill_no, T.bill_date, T.vehicle_no, T.PARTY_NAME
    

    See you soon!
    Bobin

    Published by: Buga change request

  • BlackBerry Z10 error "too many devices are connected to this account.

    I just bought a new z10, I used BIS of my network too.

    But when I created my email to work through Microsoft Active Sync, z10 me "too many devices are connected to this account" ... What can I do now for this problem?

    Change the password of your email - then it will give you an option to disconnect all other devices click Yes and then connect it to your Z10 Best of Luck

  • Filter - too many values

    Hello

    Is it possible to change the thresholds of recoverable to a quick filter to dashboard. I see "too many values" in a filter and would like the opportunity to view all values.

    Can anyone help?

    Thank you

    Hello

    Drop-down list can handle a maximum of 256 values but if we want more drop-down list

    Add the code below in instanceconfig.xml under tag ServerInstance


    10000

    * Restart services presentation
    Reference: http://varanasisaichand.blogspot.com/2010_03_01_archive.html

    Kind regards
    Srikanth

  • Drop-down list invites 'TOO MANY VALUES' from the list

    I did a dashboard quickly with a list box down and I'm getting "too many values at the end of the fall to the bottom of the list box.

    I want that all the values to display.

    Anyone has a solution, thanks

    I saw in the FAQ about the instanceconfig.xml file and the tag

    value of < guests > < MaxDropDownValues > you must < / MaxDropDownValues > < / guest >

    But I did not work for me, I use the KISS we and not POET...

    Published by: Jim Nolette on June 4, 2010 09:07

    You've restarted services? and location also tags important, it should be inside tags serverinstance.

  • Problem with Oracle Fusion of declarations (PL/SQL: ORA-00913: too many values)

    Hi all

    I use the Sub merge statement and I'm getting too many questions of lines when I'm compiling.

    BEGIN

    FOR te_rec IN (SELECT / * + parallel(ts,4) * / telcos_eligible te.dtv_acct_num you, telcos_setup ts, tp telcos_partners)
    WHERE tp.telcos_name = UPPER ((p_telcos_name))
    AND ts.partner_id = tp.partner_id
    AND te.ts_id = ts.ts_id) LOOP


    MERGE INTO tcs_accounts
    WITH THE HELP OF)
    SELECT / * + DRIVING_SITE (a) * / account_id, a.subscriber_id, status, account_type FROM account@tcs_to_paris an a.subscriber_id WHERE the = te_rec.dtv_acct_num
    ) paris_accounts
    WE (tcs_accounts.subscriber_id = paris_accounts.subscriber_id)

    WHEN MATCHED THEN
    GAME UPDATE
    account_type = paris_accounts.account_type,
    subscriber_id = paris_acounts.subscriber_id,
    status = paris_accounts.status
    WHEN NOT MATCHED THEN
    INSERT (account_id, subscriber_id, status_account_type)
    VALUES (paris_accounts.account_id, paris_accounts.subscriber_id, paris_accounts.status, paris_accounts.account_type);



    END LOOP;

    END;

    Can you let me know what is the problem here.

    Thank you
    MK.

    >
    WHEN NOT MATCHED THEN
    INSERT (account_id, subscriber_id, status_account_type) - the problem here: STATUS_ACCOUNT_TYPE
    VALUES (paris_accounts.account_id, paris_accounts.subscriber_id, paris_accounts.status, paris_accounts.account_type);
    >

    Comma after STATUS instead of underscore (_), otherwise, you have only three columns instead of four:
    (.. STATUS, ACCOUNT_TYPE)

  • Now that my full FCP project, I burned a dvd and everything is fine but I want to download the .mov on YouTube, but cannot determine WHICH of the largest number is the one to download.  Too many files are named "Untitled" and I can't find a post of .mov

    Now that my project from FCP 5 minutes video clip is over, even if I am a complete and total novice to the iMac, I nevertheless managed burned a DVD via the file > share the menu option and everything went well, but now I want to download the .mov on YouTube, but is unable to determine to WHICH many files created in this project is the one to download!  It seems that many files are named "Untitled" and I do not seem to know how to find ONE with a .mov extension.

    At the top left of my screen of the FCP is the list of "Libraries" that after that I developed all the arrows to point down looks like this:

    Libraries

    Untitled

    Smart collections

    30/06/16

    Age of television

    If you haven't guessed, the name of my project is "T.V. Age" and I expected to find somewhere on the computer, a file named, 'T.V. Age.mov' or somethjng like that for me to download on YouTube, but I can't find THE .mov files.  Maybe I don't know how to market the Finder option to display filenames WITH extensions?

    I'm hoping that someone with enough time on their hands and understanding in their hearts will take the time to help me locate the .mov that as well as help me correctly name this library Untitled in the zone without good libraries course disrupt the integrity of the completed video-music that is always open on the timeline, even if I don't there anymore since my work with her is over , but the only "CLOSE button" I see is 'close library Untitled' button on the file menu.  I don't see even its end (the *) project button!  The only way I see how close my project is to close the program, but I doubt if it's true.  Any help will be greatly appreciated.

    Tony

    If you did burn a DVD, then you did burn a DVD, you export any file can be used.  Share > main folder > Audio + video and download that ProRes file resulting.  Or use the built-in YouTube option to upload directly to YouTube.

    You don't "close" anything in the part of the timeline, it is useless.  You would simply open a new project or other media type of container, in the part of the timeline.

  • Too many files are returned by the search

    I have thousands of files I need to travel from time to time for specific identification numbers.  The numbers are in the format "00-00-00 '.  When I do a search for content of file using Windows Explorer, I continue to receive files with even part of the search string.  I went into the folder options and not them 'find partial matches' and ' language search natural use "options, but I always get a hundred of files returned, do the wasted effort.  I tried to enter the string search with and without quotes, but it seems to make no difference.  My question is 1) is there something special I have to do because the research focuses on numbers and 2) so I have a result of unacceptable research, so I have to delete the Index or something to not keep the same result?

    Try this special syntax:

    content: ~ = "00-00-00 '.

    Use the name: ~ = "00-00-00' if it's parts of file names that you are looking.

    The symbol of the hyphen, as symbols of most special is not available without the use of syntax as ~ =, which means "corresponds to anywhere."

    [Update: apparently special search symbols such as ~ = do not work with the content when property indexed research places, but work during the search in unindexed locations.]

  • Error (11,15): PL/SQL: ORA-00913: too many values

    CREATE OR REPLACE TRIGGER TBI_POSCUSTXREF_IDU BEFORE INSERT OR UPDATE OR DELETE ON pos_cust_xref FOR EACH ROW 
      DECLARE 
      l_cod_action CHAR; 
      BEGIN 
      IF INSERTING THEN 
      l_cod_action := 'I'; 
      ELSIF UPDATING THEN 
      l_cod_action := 'U'; 
      ELSIF DELETING THEN 
      l_cod_action := 'D'; 
      END IF; 
      INSERT INTO at_pos_cust_xref VALUES (
      :new.DIST_NUMBER, 
      :new.DIST_BRANCH, 
      :new.DIST_NUMBER,                                                                                                                                                                                  
    :new.DIST_BRANCH    ,                                                                                                                                                                                                           
    :new.DAYS_PRICE_PROT    ,                                                                                                                                                                                    
    :new.TAPE_DAYS_PRICE_PROT ,                                                                                                                                                                                             
    :new.DAYS_IN_TRANSIT    ,                                                                                                                                                                                              
    :new.ACTIVE_IND    ,                                                                                                                                                                                                      
    :new.COMM_IND    ,                                                                                                                                                                                                         
    :new.SHORT_NAME   ,                                                                                                                                                                                               
    :new.SG_BILL_TO_CUST_NO   ,                                                                                                                                                                                           
    :new.TAPE_BILL_TO_CUST_NO   ,                                                                                                                                                                                               
    :new.SG_SHIP_TO_CUST_NO   ,                                                                                                                                                                                               
    :new.TAPE_SHIP_TO_CUST_NO  ,                                                                                                                                                                                                
    :new.NAME_FLAG           ,                                                                                                                                                                                                   
    :new.ADMIN_GLOBAL_ID   ,                                                                                                                                                                                                     
    :new.ZIP_CODE_PREFIX    ,                                                                                                                                                                                                     
    :new.DAILY_POS          ,                                                                                                                                                                                                         
    :new.PRIMARY_SALES_OUT   ,                                                                                                                                                                                                       
    :new.PRIMARY_COUNTRY_FLAG ,                                                                                                                                                                                                      
    :new.PRIMARY_START_DATE  ,                                                                                                                                                                                                          
    :new.CWAC_ID           ,                                                                                                                                                                                                      
    :new.COMMENT_ID        ,                                                                                                                                                                                             
    :new.LAST_UPD_BY       ,                                                                                                                                                                                                    
    :new.LAST_UPD_DATE      ,                                                                                                                                                                                                             
    :new.DESIGN_IN_IND       ,                                                                                                                                                                                                          
    :new.CLAIM_PROCESSOR     ,                                                                                                                                                                                                     
    :new.PRE_APPROVER_ID     ,                                                                                                                                                                                                     
    :new.CLAIMS_WITHIN_DAYS   ,                                                                                                                                                                                             
    :new.SG_AREA_CODE         ,                                                                                                                                                                                                    
    :new.CLAIM_TYPE          ,                                                                                                                                                                                                    
    :new.ART_APPROVER_ID     ,                                                                                                                                                                                                    
    :new.ACCT_PAY_ID          ,                                                                                                                                                                                                     
    :new.TAPE_ACCT_PAY_ID    ,                                                                                                                                                                                                      
    :new.POS_CORP_CODE        ,                                                                                                                                                                                                     
    :new.POS_CUST_NAME       ,                                                                                                                                                                                                    
    :new.POS_COUNTRY         ,                                                                                                                                                                                                     
    :new.POS_STREET_ADDR     ,                                                                                                                                                                                                     
    :new.POS_CITY           ,                                                                                                                                                                                                       
    :new.POS_STATE          ,                                                                                                                                                                                                       
    :new.POS_ZIP           ,                                                                                                                                                                                                        
    :new.INDIRECT_DISTI       ,                                                                                                                                                                                                         
    :new.ARCHIVE_DATE        ,                                                                                                                                                                                                             
    :new.CONT_CUST_EFFDATE    ,                                                                                                                                                                                                            
    :new.LSID                ,                                                                                                                                                                                              
    :new.POS_COUNTRY_CODE     ,                                                                                                                                                                                                   
    :new.SEGMENTATION         ,                                                                                                                                                                                                   
    :new.POS_STREET_ADDR2    ,                                                                                                                                                                                                     
    :new.INVENTORY_AUDIT_DATE ,                                                                                                                                                                                                            
    :new.PROCESS_REGION       ,                                                                                                                                                                                                      
    :new.CATEGORY_TYPE         ,                                                                                                                                                                                                   
    :new.OVERRIDE_ZIPCODE      ,                                                                                                                                                                                                    
    :new.OVERRIDE_COUNTRYCODE   ,                                                                                                                                                                                                    
    :new.OVERRIDE_COM_FLAG     ,                                                                                                                                                                                                     
    :new.POS_STREET_ADDR3     ,                                                                                                                                                                                                     
    :new.POS_STREET_ADDR4     ,                                                                                                                                                                                                   
    :new.POS_STREET_ADDR5     ,                                                                                                                                                                                                   
    :new.POS_STREET_ADDR6    ,                                                                                                                                                                                                    
    :new.POS_STATE_CODE         ,                                                                                                                                                                                                  
    :new.DIST_NUMBER_CE         ,                                                                                                                                                                                                  
    :new.SG_BILL_TO_CUST_NO_CE  ,                                                                                                                                                                                                  
    :new.DIST_NUMBER_RTL           ,                                                                                                                                                                                                
    :new.SG_BILL_TO_CUST_NO_RTL   ,                                                                                                                                                                                                 
    :new.DIST_NUMBER_MXO         ,                                                                                                                                                                                                 
    :new.SG_BILL_TO_CUST_NO_MXO    ,                                                                                                                                                                                               
    :new.SRP_CATEGORY            ,                                                                                                                                                                                                  
    :new.PTPP_DIST_NUMBER         ,                                                                                                                                                                                                 
    :new.BOOKED_REVENUE          ,                                                                                                                                                                                                
    :new.GROUP_DIST_NUMBER_ZYME       ,                                                                                                                                                                                             
    :new.ZYME_CUTOVER_DATA_DATE     ,                                                                                                                                                                                                     
    :new.DIST_TIMEZONE              ,                                                                                                                                                                                               
    :new.CURRENCY_CODE              ,                                                                                                                                                                                              
      systimestamp, 
      l_cod_action); 
      END; 
    Published by: user9093700 on March 7, 2012 11:58
    :new.DIST_NUMBER,
    :new.DIST_BRANCH,
    :new.DIST_NUMBER,
    :new.DIST_BRANCH,
    

    Why you insert DIST_NUMBER and DIST_BRANCH two times each? Remove each one and your problem will be solved.

  • I have a comp with windows Vista Home Basic 2007 Office. Can I upgrade to vista home premium? too many things are not compatible with windows 7.

    This upgrade to vista family premium is still available? is this useful? How much would it cost?

    where do I go to windows 7 and just deal with incompatible programs?

    or just forget it and leave it as it is until I can afford a new?

    * I just did a full factory restore, which helped.

    but when I reinstalled the operating system, it wouldn't let me put in the same primary place on drive C?

    I had to put it in a secondary partition and it saved a lot of old stuff and labeled "old windows"?

    I do not understand why it does this. is there something in the old system files I need?

    cause the entire purpose of the restoration was to get rid of all that. now, I have essentially 2 copies taking up room.

    because he saved much of the old system files, there's no enough space in the main square.

    Do you think I can manually remove the "old windows" copy C drive without doing any harm to the computer?

    I did enter and delete all of the photos and docs & downloads which he recorded, that I didn't, with no negative consequences.

    but it still has a lot of program/file system I fear not remove.i shouldn't need them... right?

    everything I need should be there since the operating system reinstalled, I just did?

    Help?

    Marc Zanyk

    By all means delete the windows.old folder.  Use disk cleanup.  You will find a box to check the detached, although it will not be called "windows.old" specifically.

    It seems that your computer has a recovery partition.  You would not be able to install.

    As for Home Premium, Yes, you can switch to HP.  If you can still find a copy.  Vista Express upgrade is no longer available since Vista is no longer available at a retailer.  However, you can find a copy on eBay.  Make sure you buy a retail copy and not an OEM copy.  You will not be able to update an OEM copy.  No matter if the copy of detail you find is a copy of full or upgrade license.  You'd still be able to do an upgrade in place with one or the other.

  • Too many States are bad?

    I think to implement a large number of States, more than 100.  Do all the components included in each State stay loaded in memory?  Or they get allowed out of memory when a State is not active?

    Thank you.

    Yes very bad and difficult to manage. Try some of the properties of your component binding to toggle data parameters you don't need to put in some States.

  • Scalability problems - too many Active Sessions?

    Hello

    I'm having a problem with an app that I built for one of the College campus, that I work. The application is a queue system where there are stations for students to access your room, admin stations where staff can see these students and "call", and displays outside every office employee that shows the student who was called. There are about 20 of the latter type of billboards. I have the following code in my footer to query the DB for most recent students called for a specific room:
    <script type="text/javascript">
    <!--
    var refresh_region = function( workstation_in, div_in ) {
        $.get(
            'wwv_flow.show', 
            {"p_request"      : 'APPLICATION_PROCESS=F_NEXT_STUDENT',
             "p_flow_id"      : $v('pFlowId'),      //app id
             "p_flow_step_id" : $v('pFlowStepId'),  //page id
             "p_instance"     : $v('pInstance'),    //session id
             "x01"            : workstation_in
            },
            function(data) {
                $(div_in).html(data);
            }
        );
        setTimeout(function() { refresh_region( workstation_in, div_in ) }, 5000);
    }
    
    refresh_region( '&P7_WORKSTATION_IN.', '#next_student_div' );
    //-->
    </script>
    The process of OnDemand, F_NEXT_STUDENT executes the query and returns the result:
    select a.FIRST_NAME || ' ' || a.LAST_NAME
    into   full_name
    from   ONESTOP_QUEUE a
    where  a.WORKSTATION_ID_CALLED = in_workstation_id
    and    a.STATUS = 'CALLED'
    and    a.QUEUE_ID = (
       select min( c.QUEUE_ID )
       from   ONESTOP_QUEUE c
       where  c.WORKSTATION_ID_CALLED = in_workstation_id
     and    c.STATUS = 'CALLED');
    However, when all these display panels is turned on (and I use the code as follows in the other pages for similar purposes) the application become slow and eventually unresponsive. As a first step, we have the application running a box with Oracle XE. Finally, we have migrated to a full blown installation 11g with APEX listener and GlassFish. My DBA said everything looks ok on the side of the DB, so I tried to dig into other areas to see where the bottleneck can be. After inspecting the report of Active Sessions in the APEX, I noticed that there are a ton of connections being generated (> 30 000). This is not a good thing for me and I try to understand what I am doing wrong.

    At first I used $. post() instead of $. get (). I was also using setInterval() instead of a setTimeout() loop. However, none of these changes really seem to help the situation. I am at a loss to know how else to improve the performance of this application. Any suggestions on what I can try?

    Most of the features of the app is on apex.oracle.com
    WORKSPACE: SCCC_TEST
    USER/PASS: TEST/test
    Direct URL to the page (I spend worksation ID): http://apex.oracle.com/pls/apex/f?p=65890:7:0:P7_WORKSTATION_IN:ADMISSIONS_1

    Thanks in advance for any help.

    Hello

    are you sure that each AJAX request generates a new APEX session? Because it is based on your downloaded app all right. You can check that by running the following query. It will also show you how long it took APEX to meet your demand for AJAX (elapsed_time). I think that the elapsed time will be the key to find out why your application becomes unresponsive if too many customers are returning. The goal should be that the AJAX request ends as soon as possible. For example 1 sec would be for many, because if you have 20 parallel AJAX requests at the same time, this could have an impact on your DB. You can share your average time?

    select apex_session_id, to_char(view_date, 'DD.MM.YYYY HH24:MI:SS') as view_date, elapsed_time, application_info
      from apex_workspace_activity_log
     where application_id = 65890
       and page_id = 7
       and view_date >= sysdate - 0.1
     order by 1, 2, 3
    

    I don't know how much data is stored in the ONESTOP_QUEUE table, but it may be useful to adjust your statement used in F_NEXT_STUDENT. On apex.oracle.com, the plan of the explain output shows at least he uses twice a scan interval on index ONESTOP_QUEUE_IDX. For inside MIN instruction it is well, but the external SQL should just do a search PK using QUEUE_ID. This is why I would like to delete

    a.WORKSTATION_ID_CALLED = in_workstation_id and a.STATUS = 'CALLED'
    

    to force the index seek PK using QUEUE_iD.

    I also suggest that you make your JavaScript code on the page 5 and 7 more transparent. He is currently hiding in the region or footer HTML. I would say to move JS code in the attributes of the page 'Function and Global Variable declaration' and ' run when Page Loads. BTW, there is no need to use $(document) .ready in "Run when the Page loads", because internally, we already use $(document) .ready.

    Or instead of using your own JavaScript code you can download the plugin http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-plug-ins-182042.html#dynamic "Timer" and use rather dynamic actions. On page 5 you can use the action "Refresh" to update your classic report and on page 7 you can use an action to "Set the value" to run your query. I think it would make your page easy to read for others.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • too many return values for a single node

    I have a table with two columns

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

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

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


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


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

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

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

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

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

    I would do it with two XMLTables, like this:

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

Maybe you are looking for

  • Satellite A200 - I can boot from PCI express card?

    I have a laptop A200. I recently bought a PCI expresscard HD. Many people have asked this question already on many sites and regarding several different brands and models of laptops. According to anadtech and other techys the only way to do an Expres

  • HP OFFICEJET 4500: printer problem hp 4500 doen't pull paper from the bin, hp print and scan doctor did not help

    Paper printer problem hp 4500 doen't pull of the plateau, hp print and scan doctor did not help

  • E CD/DVD DRIVE DOES NOT WORK

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: I am IMPOSSIBLE to GET THE DRIVE E (CD/DVD) TO READ. WHAT CAN I DO TO GET THE PLAYER TO WORK? You have problems with programs Error messa

  • HP 2605 - other colors print fine, but black is wacky

    Just disassembled my 2605 and cleaned the mirrors in an attempt to clean up some problems of discoloration. I put back it as well as a new black toner. All the colors print wonderfully a sheet of color. Black only prints about a third of the page and

  • Send a request form in QML Post

    I'm trying to get the last stage of Oauth 2 can operate.  I need to send the secret, the key and code to the url of the provider, but I can't send it as url WebView and using PostMessage returns nothing to the OnMessageReceived function. On the QML p