Multiple resultsets from the same query?

Hi all,
     Can I define a query that will show more than one resultset (of similar structure), based on the different values of a particular characteristic?
     Say, characteristic C1 has 3 different values x1, x2 and x3. Is it possible to output 3 different resulsets based on x1, x2 and x3?
Thanks,
Satyajit.

Hi Satyajit,
I hope i am getting your problem right.
By saying "3 different resulsets based on x1, x2 and x3"
did u mean to say that the list of key figures u have specified in your columns portion of your query should be displayed 3 times,First with x1, then with x2 and then x3.?
If thats the case what u can do is drag the characteristic C1 into the columns section of your query designer and keep it in top , followed by the key figures.
Then you can achieve the desired result..
Hope it helps.
Regards,
Parth.

Similar Messages

  • Multiple ResultSets from the same connection occuring at the same time

    Is it possible to have the following code? The issue is that you are iterating through two result sets created from the same connection at the same time.
    try {
    Connection conn=createConnection();
    Statement s=conn.createStatement();
    ResultSet rs=s.executeQuery(someSQL);
    while (rs.next()) {
         Statement s2=conn.createStatement();
          ResultSet rs2=s2.executeQuery(someOtherSQL);
          while (rs2.next()) {
               //do something
    } catch (SQLException sqle) {
    } finally {
    freeConnection(conn);

    Joel,
    The code compiles, but I have not tried running it. It is a question I need to know, designing a program.
    The question is whether some error would come up or the first ResultSet would be corrupted because a second were created before the first one was closed.
    --Gabe                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I receive multiple texts from the same sender, each individually?

    How do I receive multiple texts from the same sender, each individually?

    So I receive automated reminders from my job & I want them to come individually. For example, one text -- time stamped 10:14 pm, then another 11:12 am, coming as separate msgs.

  • Two different Resultsets for the same query (running at the same time)

    I am using the Thin Driver for Oracle 8.1.6. I am invoking queries in multithreading mode (each thread has his own connection to the oracle DB). If i am invoking the same SQL-Statement in two different threads nearly at the same time, only the ResultSet of the first query is complete. The ResultSet of the second query is not complete (the number of tuples differs each time I run the program). Principally the two ResultSets should be the same (no changes are done at the same time in the DB), but they are not.
    Anybody knows this problem and knows how to solve it? Principally read accesses on DBs should not make such trouble ...
    I hope anybody can help me.

    Pranav,
    As this BADI is having option checked 'Multiple use'. You can implement multiple implementations.
    You need not to deactivate the existing implementation.
    Reddy

  • How Can I delete multiple messages from the same address in Mac Mail

    Hope this is in the correct Community.  Hope someone can help me to delete multiple email messages from the same email address.
    At the moment I can do it by holding down the Command key and highlighting each email, but that can be difficult with many messages
    to delete.  Is there a quicker way?
    Thanks for any help on this.

    Thanks for the reply, appreciate your input.  I did find another way of doing it and that is to highlight the first e-mail, hold down the shift key and click on the last one.  That highlights them all and then they can all be deleted.  Your ideas also work of course and I thank you for that.  Cheers.

  • Multiple sheets with the same query automaticly

    Hi gurus,
    I want to create a workbook with one query and one input variable.
    The input variable is the 0PLANT. And I want to execute the same query so many times as  0PLANPLANTs has the 0PLANT and each 0PLANPLANT appear in different sheets.
    There are different 0PLANTs with 4,5,6,... 0PLANPLANTs and the workbook has to be valid to all 0PLANT and automaticly generate 4,5,6,... sheets depending of the number of 0PLANPLANTs has the 0PLANT.
    Any idea?
    Best regards

    But, what macros? I don´t have idea over macros excel´s.
    Thanks for your answer.

  • Can I combine multiple threads from the same contact in iMessage?

    iMessage displays multiple threads for the same contact.  Its very confusing and has resulted in lost messages.  I've tried changing a number of settings but to no avail.  Seems to require everyone in my contact list to eliminate all their email addresses in iMessage.
    Begs the question why does iMessage even need this information?  Worse, why does it suck it into its settings by default.  The directory server should only require a valid Apple ID (associated with the users' devices)  in order to direct an iMessage between two contacts.

    Thanks for the reply, appreciate your input.  I did find another way of doing it and that is to highlight the first e-mail, hold down the shift key and click on the last one.  That highlights them all and then they can all be deleted.  Your ideas also work of course and I thank you for that.  Cheers.

  • Connect one JAVA ADS instance to multiple clients from the same ABAP system

    Hi,
    Does anyone know whether it is possible to connect multplie clients from the same ABAP system to a JAVA instance running ADS?
    If so how do you setup the java destinations in Visual Admin and SM59 RFC connections?
    Any help is appreciated,
    Sander

    Dear Sander,
    this is always the case if you arrange the ADS connection.
    You have to set up the RFC connection 'ADS' in ABAP side and this connection/destination is client independent. So you can use this from all clients of your abap system.
    On Java side you have to arrange the already mentioned FP_ICF_DATA_<SID> destination. On the ABAP system and client (you specify in this destination) you have to maintain the user ADS_AGENT and your templates should also exist on this client. If there is no client defined, the default client will be used.
    Regards
    Istvan

  • Problems sorting multiple releases from the same year

    Hello,
    I have just discovered how to arrange my iTunes library in chronological order by artist using 'Album by Year', i.e. All an artists albums are in order of release, Artist > Year > Disc # > Track #
    However,
    I have now encountered a new (minor) problem where there are several releases from the same year.
    For example, I have some artists who have released several singles, EPs and albums all in the same year (those busy people) and so all releases from any one year are filed alphabetically, not technically in chronological order, but close.
    It would require an exact release date in the 'Year'/'File Info' fields. Is this possible?
    Am I just being too picky?
    Thanks people. My head hurts.

    Hello,
    I have just discovered how to arrange my iTunes library in chronological order by artist using 'Album by Year', i.e. All an artists albums are in order of release, Artist > Year > Disc # > Track #
    However,
    I have now encountered a new (minor) problem where there are several releases from the same year.
    For example, I have some artists who have released several singles, EPs and albums all in the same year (those busy people) and so all releases from any one year are filed alphabetically, not technically in chronological order, but close.
    It would require an exact release date in the 'Year'/'File Info' fields. Is this possible?
    Am I just being too picky?
    Thanks people. My head hurts.

  • *** Receiving multiple emails from the same person

    This is a new issue that started happening today and I'm wondering if someone can help.
    When receiving emails today, they are duplicating as they are coming into my inbox. The wierd thing is, the amount of duplicate emails is inconsistent. All emails are coming in as duplicates, but some messages duplicate up to 7 times for each sender. Other times, the message is in my inbox 4 times. Same message from the same sender.
    Is there a way I can tell my MacMail to stop this from happening???
    Thanks in advance.

    People keep reporting this problem from time to time, and almost always it is some sort of Yahoo account and there is nothing the user can do to fix it. The problem usually fixes itself after some time for no apparent reason, just as it started.
    Try using a different mail client, such as Thunderbird, and see whether the problem happens there as well. If so, then you know Mail has no bearing on it and there is nothing you can do other than complaining to your ISP or whoever is responsible for that account.

  • Connecting to multiple clusters from the same client

    We have a scenario where our cache client (extend client) should be able to connect to multiple clusters. All the clusters use the exact same configuration (same caches, same services etc) but running in different geographical locations. I know that the <remote-addresses> can be used to add multiple addresses but I'm assuming this is provided solely for fault tolerance. So, does the client actually support connecting to multiple clusters at the same time?
    Thanks
    Sijo Mathew

    Hi Sijo,
    Normally to connect a client to multiple clusters you would just define multiple <proxy-scheme> settings in your client configuration file, each one having a different name and pointing to a different cluster. You then map caches to the proxy-scheme for the cluster those caches live on.
    What may confuse things in your case is that you say the different clusters are identical and contain the same caches and services so you may have problems mapping caches on the client to different clusters.
    What are you trying to achieve by doing this if the clusters are all identical?
    JK

  • Multiple edits from the same clip.

    Hi guys,
    I have a project which requires a lot of different edits from the same clip.
    Is there any way to do this without having to duplicate the same clip each time and then making my new edit?
    For instance -
    Clip 1 is 20 minutes long.
    My first edit is from 1:10 to 1:35.
    I then duplicate Clip 1 and make another edit from 2:40 to 3:55.
    I'm using Premier CS5.
    Thanks,
    Dave.

    Sub clips are not a general edit way of doing things efficiently.
    They are more of a way of creating a bin full of "selects" ( selected clips in a Selects Folder for easy and quick access and review). That is a time consuming process but works  well in some situations.
    Standard general  edit practice is to edit from Source Monitor.
    drop Clip into Source Monitor
    Mark In and Out point and drop that to the Time line. (many ways to do that Insert/ overlay/ shortcuts etc..)
    Next...Move thru and create new In and Out and do the same
    continue thru the Source Clip till complete...
    Then on the Timeline ( sequence) Tim and work the clips.
    Now ...some "learners" edit the source clip in the timeline  using Razor Tool...hacking and chopping and deleting and dragging bits of stuff all over the show.   Thats in efficient and clunky .

  • Multiple Contacts From The Same Company

    Is there a way to "clone" a contact entry to avoid re-entering all of the information for a new contact from the same company?

        Let's figure this out mrucci! I want to ensure I fully understand so I may assist accordingly. Are you creating several contacts with different numbers from the same company and want to know if there is a quick option to auto generate the company contact details? Please confirm so I may further assist. Thank you.
    TominqueBo_VZW
    Please follow us on Twitter @VZWSupport   

  • Multiple columns from the same dimension table as row labels performing slowly

    (Working with SSAS tabular)
    I'm trying to figure out what the approach should be for the following scenario:
    Lets say we have a Customer table. The table has columns such as account number, department number, name, salesperson, account manager, number of customers, delivery route, etc
    A user of the model could want to see any permutation of that information as the row labels. How should that be handled?
    What we've been doing so far is that the user adds each column they want into the "ROWS" section in Excel. This works fine with smaller tables (for example, "Department" table with a "Department Code" and "Department Name",
    but on large tables this quickly chokes. I understand why this is happening, I just haven't found a better way to accomplish the same thing.
    I can add a calculated column to the model through VS, but obviously this is unsupportable and unscalable when each person needs their own permutations of the data. Can something similar be done in Excel? 
    This question seems to be what I need:
    http://social.msdn.microsoft.com/Forums/en-US/97d1157a-1402-4227-b96a-79524401ddcd/mdx-query-performance-when-selecting-multiple-attributes-from-same-dimension?forum=sqlanalysisservices
    However I can't find any information on how to add those properties (is it a multidimensional-only thing?)

    Thanks for the help. Sorry but i'm a self-taught developer, and i may be missing some basics :)
    Anyway i've done what you suggested but i get this error:
    [nQSError: 15011]The dimension table source Dimension Services.DM_D_SERVIZI_SRV has an aggregate content specification that specifies the level Product. But the source mapping contains column COD_PRODUCT with a functional dependency association on a more detailed level .
    where:
    - DM_D_SERVIZI_SRV is the physical alias for the Service Dimension (and the name of the LTS too)
    - COD_PRODUCT is the leaf of the hierarchy, the physical primary key, but it hasnt to be included in the hierarchy
    Do i have to add another level with the primary key and hide it to the users?
    I tried to solve this going to the logical tables source properties, on the tab contents, setting "logical level" to null for the hierarchy, but i don't know if this is correct.
    Thanks

  • Inconsistent results returned from the same query

    Hi,
    My company has a oracle 8i DB as backend for the website it is currently hosting. I wrote a plain SQL select query to retrive results from a table. Usually the query returns 50 to 100 records. We build an xml based on the results and cache the xml for subsequent user hits.
    But atleast once or twice a day we get a problem where it returns almost no records. So the resulting xml will be blank and from there on until we delete the cached xml the user sees the page as blank.
    I wonder why this happens, does this happen because of more hits to the oracle database?. Or is it because of the indexes created on the table?. Is oracle not able to handle multiple user requests?. We get mostly like 10 to 20 people clicking at the same time. I don't know what is causing the failure.
    Does any of you have this inconsistency problems with Oracle?
    Thanks in advance
    sony

    Please ask questions on Oracle Text (formerly InterMedia text) in the Oracle Text forum, you will get a quicker, more expert answer there.

Maybe you are looking for

  • E71 - SEVEN Problems - Please Help

    Hello ladies and gentlemen. I have a Nokia E71 running Symbian OS 60 3rd Edition. I have been using SEVEN for several months now and it worked fine (with push e-mails arriving almost instantly everyday). The number of unread emails showed up on my ho

  • Cables for Macbook Pro to Sony Bravia KDL-40V2500 ??

    Greetings - We have an Aug 2009 MacBook Pro -- would like to feed video / movies to our Sony Bravia KDL-40V2500, which has all manner of inputs -- HDMI, Composite, S-Video. There appears to be a video port between the firewire & 2 USB ports. What cab

  • HOW TO HIDE FIELDS IN A CUSTOM TABLE - URGENT

    Hi all, I've a requirement where I need to hide 2 fields of a custom created table(Z table with 4 fields). When I create a new record and when I Click on save it should display only 2 fields instead of all the 4 fields. A table maintainence generator

  • Onboard TV-out problem

    Hi, I need to disable the TV-out function so I can watch dvd's.  I've gone into the BIOS using the onboard VGA and I only get the different formats and no option to disable it as stated in the manual.  Non of the DVD software I use will play as they

  • How to have a page in landscape and the next in portrait

    i am unable to figure out how to have in a single document a page in landscape and the next one in portrait. can someone advise on how to do it? or maybe this option is not available in pages08. at least i have to be able to insert a chart in lanscap