Scripts/multiple queries in one CF Query block in Oracle

Greetings:
I am primarily an MS SQL programmer and I am wondering how to
run multiple query statements inside a single cfquery block. For
example, on MS SQL I can do multiple delete statements, or an
update and select within one cfquery block, but I get an error
whenever I try to do this on ORACLE. Is there a way to accomplish
this on ORACLE?
thanks!

Your best bet would be to use multiple CFQUERY tags within
CFTRANSACTION tags if you want them all to be handled in a "block"
or "session". Or, put all of your SQL statements in a PL/SQL stored
procedure.
Phil

Similar Messages

  • Moving multiple queries from one category to another in QM

    Hi All,
    Is there is any way of moving multiple queries from one category to another in the query manager?
    Or is the only way of doing it by saving each one individually into a different category.
    Any ideas ?
    Regards,
    Rakesh N

    Hi Rakesh,
    The query manager has limited function compare with normal file management applications. Under current design, you have to do this one by one. You just need to make sure move the smaller amount of queries to large category. Category name can be changed easily.
    Thanks,
    Gordon

  • How to execute multiple queries in one stored procedure.

    Hi,
    I am Kumar,
    How to execute multiple queries in one stored procedure.
    here is the my requirements,
    1. get the max value from one table and sum of the that value.
    2. insert the values and also sum of the max value.
    using stored procedure
    I am using SQL server 2000 database.
    Please help me.
    Advance thanks
    by,
    Kumar

    This is not a java question and it is not even a problem: your only problem is
    1) lack of knowledge
    2) lack of interest to find a manual
    But you are going to have to change both by actually reading a book or a manual that explains the stored procedure language of SQL Server. It is the same as Sybase I think, so you could also look for a manual for that DBMS.

  • Can we use multiple queries on one template

    Can we use multiple queries on one template

    Hi,
    if you're using data templates for your data set, you
    can put multiple queries in the XML data template.
    The queries may then be linked (or not) by the "link
    name" tag ...
    Grtz.Following you answer here...do you know eventually how/if possible to preview a report (with XMLP Desktop) that is using data templates for the data set?
    Thanks,
    Liviu

  • Results of multiple queries in one report

    Hi
    I would like to create one report with multiple rows and each row should display result of a different query.
    I guess I can use multiple report on one region or multiple regions in one place.
    (1)However is there a more elegant way of creating a single report look and feel...eg like it would happen in excel.
    (2)Is it better to have one page with multiple regions or multiple reports in one region.
    Thanks
    Faizi

    I'm not sure if it suite your needs,
    but maybe you can use UNION in your queries to get them together in one report ??
    Second option:
    Denes did great work and he created some how-to about putting mulitple reports in one region:
    http://deneskubicek.blogspot.com/2007/06/multiple-reports-in-one-region.html
    Hope this helps.
    Tomasz K.

  • SQL Developer cannot execute multiple queries in one connection

    Hi,
    Using : SQL Developer 1.2.29.98, Oracle Database 9i on Windows XP.
    Currently I have TOAD and PL/SQL Developer to handle things related to Oracle Database.
    I found this SQL Developer tools as an interesting tool which might replace PL/SQL Developer (I assume).
    I opened two SQL Worksheets and tried to execute 2 queries (time consuming one) simultanously, suddenly it freezes (the window become grayed). Just like TOAD, we cannot smoothly execute multiple queries on single connection on SQL Developer
    I can monitor the query process using TOAD (Session Browser) and found both queries are running while SQL Developer window become grayed and seems not functioning. After the queries have been finished, I mean both of them, the SQL Developer window become normal and "alive" again showing the expected results.
    Well, however PL/SQL Developer could handle this. Executing multiple queries in single application is just its unbeatable features.
    We can view the query result once its finished instead of until the others being processed, by just only switch the SQL Windows.
    Is it true that SQL Developer doesn't support executing multiple queries?
    Or is it a feature which we should request?
    Or we have to activate this feature by doing some changes on configuration / preferences?
    (Do we need to open two SQL Developer instances? what a memory consuming solution).
    Regards,
    Buntoro

    SQLDeveloper connections are single threaded and also rather single minded (in that you can't do much else while a long query is running.)
    There is an existing feature request http://apex.oracle.com/pls/otn/f?p=42626:39:3685254426061901::NO::P39_ID:4202 for which you can vote.
    The workaround is to have multiple connections. Not brilliant but it works.

  • How to embed multiple queries in one web template

    Hi,
    I've a requirement wherein I need to embed two queries in one web template. The first query displays order quantity from a particular customer and the second query displays other information for that customer. Most of my web templates i've contains only one query which i've created using 0ADHOC template saving this as diff template and modifying it. But this is the first time I have got this type of requirement wherein the user drills down on a particular customer for order quantity and then goes for other information from other query.
    Does anyone out there has any idea or suggestion as to how to do this ? One more thing I need to pass the values from one query to another which is akin to RRI concept while staying in the same web template.
    Your suggestions/advices are highly appreciated.
    Thanks in Advance,
    Rash.

    Hi Rash,
    You can do this by including 2 table web items in your template and assiging the 2 different queries as different dataproviders to each. You can try to create a drop down box to filter the customer and in its properties set DataProvider1 and DataProvider2 as the affected data targets.
    Hope this helps...

  • Multiple Queries in one Report

    What is the best way to show the data of 2 queries in one report?

    Hi Frank,
    It purely depends on the reporting needs I would say. You could simply add the two queries, create joins in Crystal Reports and drag the required fields in the details section.
    The joins in this case, however, would be executed by Crystal Reports, unlike when the report is created off a Relational database.
    -Abhilash

  • Using DATA_CELL and multiple queries into one table

    Hi WAD experts,
    I have been trying to work out how to combine multiple hidden query result sets in their own tables in the template, into one table displayed as if the data originated from one query.
    I have been looking at using the DATA_CELL method of "modify table" class.
    Has anyone had to do this before - and if so do you have any clues as to how best to do this ?
    Thanks
    Chris

    Here is what I want:
    Say I have a query that tells me about how many items were sold at a hardware store for each week. Then the output would look something like this:
    Week,Item,Num_Sold
    13,Hammer,15
    13,Nail,594
    13,Screw,398
    14,Hammer,16
    14,Nail,382
    14,Screw,331
    But I want my output to look like this:
    <space>,13,14 <-- these would be the week numbers
    Hammer,15,16
    Nail,594,382
    Screw,398,331
    I asked this same question in a SQL-only forum and one person responded that they did not know how to do that. But I figure that this is done often enough that there must be some Open Source program that can transform the output data into a table. As you can see, it's not a pure transform. It's more like I take one column, make that the x-axis, another column, make that the y-axis, and "plot" the data based on the two columns. It's kinda like taking 1D data and making it 2D. There's no existing open source program which does this? I figure that I could just give the program my SQL queries, specify some rule such as "Make the first column of the resultset the row, make the second column the column and create a table with the 3rd row, using the first two rows to map the 3rd row into the table". Note that I think this only works with 3 columns.
    Anyway, if there is no simple program that already does this, I can make a program to do what I just described. I just asked the question here because I figure that there are a lot of people knowledgeable about SQL and Java on this forum and that someone would know of a tool which already does what I want if one exists.

  • Multiple Queries on one table....

    Hi  - I am trying to query the same table multiple times and can't figure out how any help would be GREATLY appreciated!!  For example - I have a PRINRPT.CALL_DATE Field and in my SQL Command Statement I have asked it to only bring over PRINRPT.CALL_DATE  > 10/31/08...I then count those on my report BUT I would also like to query that same table again with PRINRPT.CALL_DATE = Today - 90 Days and then again PRINRPT.CALL_DATE from 10/31/07 to 10/31/08....I can not figure out how to do this in CR.  I tried a formula based on the PRINRPT.CALL_DATE  field - but it only returns TRUE or FALSE..I would like actual dates so I can count them in the report to get a total by principal by customer (see below).
    Here is my SQL Query - let me know if it is possible please!!!  Thanks in advance for all of your help!!
    Misty
    SELECT ACCT_CLASS.NAME
          , ACCT_CLASS.PRIN_NAME
          , PRINRPRT.PRIN_NAME, PRINRPRT.CALL_DATE, PRINRPRT.AUTHOR
          , CUSTOMER.SALES_Name
          , CUSTOMER.SALES_NO
          , CUSTOMER.NAME
          , CUSTOMER.Customer_Class
          , ACCT_CLASS.CLASSIFICATION
          , PROJECTS.PRIN_NAME
          , PROJECTS.EST_PROF
          , SALES.PRIN_NAME
          , SALES.NOV_2008_GP, SALES.DEC_2008_GP, SALES.JAN_2009_GP,
            SALES.FEB_2009_GP, SALES.MAR_2009_GP, SALES.APR_2009_GP,
            SALES.MAY_2009_GP, SALES.JUN_2009_GP, SALES.JUL_2009_GP,
            SALES.AUG_2009_GP, SALES.SEP_2009_GP, SALES.OCT_2009_GP,
            SALES.NOV_2007_GP, SALES.DEC_2007_GP, SALES.JAN_2008_GP,
            SALES.FEB_2008_GP,    SALES.MAR_2008_GP, SALES.APR_2008_GP,
            SALES.MAY_2008_GP, SALES.JUN_2008_GP, SALES.JUL_2008_GP,
            SALES.AUG_2008_GP, SALES.SEP_2008_GP, SALES.OCT_2008_GP
    FROM AveWorking.dbo.ACCT_CLASS
          JOIN AveWorking.dbo.CUSTOMER ON ACCT_CLASS.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID      
    LEFT JOIN AveWorking.dbo.PRINRPRT ON  ACCT_CLASS.PRIN_NAME = PRINRPRT.PRIN_NAME
            AND ACCT_CLASS.CUSTOMER_ID = PRINRPRT.CUSTOMER_ID
            AND ACCT_CLASS.NAME = PRINRPRT.NAME
            AND PRINRPRT.CALL_DATE > 10/31/2008           
    LEFT  JOIN AveWorking.dbo.PROJECTS ON  CUSTOMER.CUSTOMER_ID =  PROJECTS.CUSTOMER_ID
            AND PROJECTS.NAME = PRINRPRT.NAME
            AND PROJECTS.PRIN_NAME = PRINRPRT.PRIN_NAME
    LEFT JOIN AveWorking.dbo.SALES ON   PRINRPRT.PRIN_NAME = SALES.PRIN_NAME
           AND SALES.CUSTOMER_ID  = PRINRPRT.CUSTOMER_ID
    ORDER BY CUSTOMER.SALES_Name, ACCT_CLASS.PRIN_NAME,PRINRPRT.PRIN_NAME,PROJECTS.PRIN_NAME

    Thanks so much Carl - that was it...I think I have been staring at this for far too many hours now and can't see what is right in front of me!!
    I am still having more issues with it - I hate this report!!!!  I am getting duplicate dates & sales populating now.  So for example I want:
    Principal Name             Name          sales 09       Sales 08   Dates 3Mo        Dates 09         Date 08
    So, I am getting Sales 09 & Sales 08 and Dates in 09 coming up multiple times per customer where there really is only one showing in the database for each day.  I think it has something to do with the sales connection (the last Left Join on my report).  I have ran it soooo many times with groups, without groups, inside out and upside down etc....but if I need an accurate count of the calls made in each column I can't have it duplicating dates...can you tell from my query as to why it might do this??? 
    My ultimate goal is to have one line of data per data field above, then repeat for a new customer.
    Any more ideas????
    Principal Name             Name          sales 09       Sales 08   Dates 3Mo        Dates 09         Date 08
    XXXX                          XXXXX         Total $          Total $         #                        #                    #
    Thanks again so much, any help you can give is greatly appreciated!!
    Misty
    Current Query:
    select  ACCT_CLASS.NAME
          , ACCT_CLASS.PRIN_NAME
          , PRINRPRT.PRIN_NAME, PRINRPRT.AUTHOR
          , CUSTOMER.SALES_Name
          , CUSTOMER.SALES_NO
          , CUSTOMER.NAME
          , CUSTOMER.Customer_Class
          , ACCT_CLASS.CLASSIFICATION
          , PROJECTS.PRIN_NAME
          , PROJECTS.EST_PROF
          , SALES.PRIN_NAME
          , SALES.NOV_2008_GP, SALES.DEC_2008_GP, SALES.JAN_2009_GP,
             SALES.FEB_2009_GP, SALES.MAR_2009_GP, SALES.APR_2009_GP,
            SALES.MAY_2009_GP, SALES.JUN_2009_GP, SALES.JUL_2009_GP,
            SALES.AUG_2009_GP, SALES.SEP_2009_GP, SALES.OCT_2009_GP,
            SALES.NOV_2007_GP, SALES.DEC_2007_GP, SALES.JAN_2008_GP,
            SALES.FEB_2008_GP, SALES.MAR_2008_GP, SALES.APR_2008_GP,
            SALES.MAY_2008_GP, SALES.JUN_2008_GP, SALES.JUL_2008_GP,
            SALES.AUG_2008_GP, SALES.SEP_2008_GP, SALES.OCT_2008_GP,
            PRINRPRT.CALL_DATE,
      case when PRINRPRT.CALL_DATE BETWEEN '11/01/2008' AND '10/31/2009' then PRINRPRT.CALL_DATE ELSE NULL end as "Call_Dates09",
      case when PRINRPRT.CALL_DATE > getdate() - 90 then PRINRPRT.CALL_DATE ELSE NULL end as "3MOCall_Dates09",
      case when PRINRPRT.CALL_DATE  BETWEEN '11/01/2007' AND '10/31/2008' THEN PRINRPRT.CALL_DATE ELSE NULL END   "CALL_DATES08"
    FROM AveWorking.dbo.ACCT_CLASS
          JOIN AveWorking.dbo.CUSTOMER ON ACCT_CLASS.CUSTOMER_ID = CUSTOMER.CUSTOMER_ID      
    LEFT JOIN AveWorking.dbo.PRINRPRT ON  ACCT_CLASS.PRIN_NAME = PRINRPRT.PRIN_NAME
            AND ACCT_CLASS.CUSTOMER_ID = PRINRPRT.CUSTOMER_ID
            AND ACCT_CLASS.NAME = PRINRPRT.NAME                 
    LEFT  JOIN AveWorking.dbo.PROJECTS ON  CUSTOMER.CUSTOMER_ID =  PROJECTS.CUSTOMER_ID
            AND PROJECTS.NAME = PRINRPRT.NAME
            AND PROJECTS.PRIN_NAME = PRINRPRT.PRIN_NAME
    LEFT JOIN AveWorking.dbo.SALES ON  CUSTOMER.CUSTOMER_ID = SALES.CUSTOMER_ID
            AND ACCT_CLASS.PRIN_NAME = SALES.PRIN_NAME
            AND ACCT_CLASS.NAME = SALES.NAME       
    ORDER BY CUSTOMER.SALES_Name, ACCT_CLASS.PRIN_NAME,PRINRPRT.PRIN_NAME,PROJECTS.PRIN_NAME
    Edited by: Misty Whitney on Jul 28, 2009 3:07 PM

  • Multiple queries happeing in adf query component using LOV

    Hi,
    I am using a programmatic view object in adf query component and have created List of values for one attribute by adding another programmatic ViewObject as ViewAccessor.
    To populate the lov ViewObject, i have overwritten the method executeQueryForCollection in which i call the webservice to fetch the data. So lov is working fine inside QueryComponent.
    I have overwritten queryListener attribute of query component in my backing bean. In the queryListener method, to populate the result grid, am populating the view object by using createRow and insertRow apis. While doing so, Whenever i do setAttibute for the lov field, the overwrittern method executeQueryForCollection getting invoked. Hence my webService getting invoked. So if i have 10 rows, the webservice is getting invoked 10 times.
    I put sops in the executeQueryForCollection method for the queryMode and getName.
    System.out.println("executeQueryForCollection::::"+this.getQueryMode()); i get as 7
    System.out.println("executeQueryForCollection:::=" +this.getName());    i get as  CurrencySummaryLOVVO_5708_findByVC_   The number 5708 varies for every row.
    Please tell me How to avoid invoking the executeQueryForCollection everytime when i do setAttribute.
    One workaround i have currently is to have one dummry attribute for the lov which can be used for display in grid and actual attribute will be used in Query Component for the lov to function.
    Is there any other better workaround?
    Thanks a lot in Advance.
    Vivek
    Edited by: Vivek Singh on Oct 22, 2009 9:16 PM

    When you set a value to LOV field it tries to validate it from the LOV data. thats why it execute query.
    Try setting Row Level Bind Values = false for the accessor.
    yet, i would suggest to find an other way to populate values of LOV since the executeQueryForCollection will be executed many times when you use that LOV:
    [http://adfbugs.blogspot.com/2009/08/lov-execute-query-many-times.html]

  • Scripting Multiple Behaviors for One Button

    Dear Jimmy,
    This question is similar but different to the ones you helped me with a few weeks ago but different enough I need some assistance. Posted this last week, no one has yet to answer. Hope your on line today.
    I now need to replalce the text that read "Invalid until Submitted" and then changed and read "Submitted and Valid" after the Submit Button has been clicked to something a little different.
    I now need text to read "Draft for Review" on the form until the submit button is clicked. This text "Draft for Review" needs to disappears or become invisible after the email button has been clicked on the form.
    Additionally, I need a date on the form to be filled in before the form user can email the form out.
    I now need the form to:
    (1) require a date field entry in a date/time box in order to submit the form by email.
    (2) take the serial number from a field and put it in the email submect line.
    and (3) make the text "Draft for Review" text disappear or become invisible,
    ALL 3 need to happen, when the submit button is clicked. (Which is a button, not an email button now).
    Can you tell me why the scripting I have below will give the message when the button is clicked. I want, "Please enter the date the Silver Coverage Inclusions were explained" if the date is not entered. However, without a date being entered, proceed to open email without making form user enter the date after they click OK when the request message to enter the date come up? This allows the form to be sent WITHOUT the form user really entereing the date because the email opens up next.
    Fortunately, my "Draft for Review" text disappears.
    The Scripting being used is (combination of some you gave):
    if(T100.rawValue == null)
    app.alert("Please enter date selling dealer explained Silver Level Coverage Inclusions.");
    xfa.host.setFocus("T100");
    StaticText3.presence = "invisible";
    var emailSubject = serialNumber.rawValue;
    var myDoc = event.target;
    myDoc.mailDoc(
    false,
    "[email protected]",
    "[email protected]",
    "[email protected]",
    emailSubject,
    "Email body goes here."
    Can you tell me how to make all three work together correctly and in the 1,2,3, order from above?
    Thank you,
    Victoria Holt
    To post a message, compose your text in the box below, then click on Post (below) to send the message.
    A blank line starts a new paragraph

    Dear Jimmy,
    Thank you! This worked.
    Your really really GREAT at this.
    I have several very specific questions I need answered to make a couple of other forms work.
    I need help with a similar but different submit button.
    I also need assistance with formatting a few numeric and alpha numeric fields.
    I thought you might work with Adobe but later this afternoon soon a link with an email that seemed to indicate you might be affiliated with Pac Bell.
    My questions is since I need some more specific help rather quickly would you it be alright with you and ethically correct for me to comission you to help me by telephone and email on our off hours tonight and some Saturday?
    I do hope so. If you would be as kind please let me know how you would like to exchange phone numbers and/or email.
    Thank you again. I do look forward to a reply. I hope you can help.
    Best regards,
    Victoria HOlt

  • Multiple queries on one page

    I am fairly new to JSP and need just a quick guideline and how to do so. So, I've put two very simple queries below. If anybody could just give some simple quidelines to follow, I would be very grateful.
    <%@ include file="dbconnection.jsp" %>
    <% int TitleID = 0;
    String TitleName = "";
    String LastIssue = "";
    ResultSet rset = null;
    String sql =
    "SELECT " +
    "t.TitleID, t.TitleName, t.LastIssue " +
    "FROM " +
    "IPs i, Titles t " +
    "WHERE " +
    "i.IPNumber = t.IPNumber " +
    "AND " +
    "t.TitleName LIKE " +
    "'" + request.getParameter("TitleName") + "%'" +
    "ORDER BY t.TitleName ";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
    return;
    while (rset.next ())
    TitleID = rset.getInt ("TitleID");
    IPNumber = rset.getInt ("IPNumber");
    TitleName = rset.getString ("TitleName");
    LastIssue = rset.getString ("LastIssue");
    %>
    =====================================================
    <% int IPNumber = 0;
    String FirstName = "";
    ResultSet rset = null;
    String sql =
    "SELECT " +
    "t.IPNumber, t.FirstName " +
    "FROM " +
    "IPs i, Titles t " +
    "WHERE " +
    "i.IPNumber = t.IPNumber " +
    "AND " +
    "t.TitleName LIKE " +
    "'" + request.getParameter("FirstName") + "%'" +
    "ORDER BY t.FirstName ";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
    return;
    while (rset.next ())
    IPNumber = rset.getInt ("IPNumber");
    TitleName = rset.getString ("FirstName");
    %>

    better yet, can you straighten me out, because i'm missing something:
         <%-- Run SQL Query --%>
    <% String IPName;
    int IPNumber;
    int NumberOfPubs;
    String CountryName;
    String sql;
    String sql2;
    ResultSet rset = null;
    IPName = "";
    sql = "";
    sql =
    "SELECT distinct left(IPName,1) AS IPTitle FROM IPs ";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
         return;
    while (rset.next ())
    IPName = rset.getString ("IPTitle");
    %>
    <%
    try {
    stmt.close();
    conn.close();
    } catch (Exception ex) {}
    %>
         <a href="results_ip.jsp?IPName=<%= IPName %>"><%= IPName %></a>
    |
         <%
         %>
         </td>
    </tr>
    </table>
    <form method="POST" action="details.jsp">
    <TABLE BORDER="1" CELLSPACING="0" CELLPADDING="3" width="727">
    <TR bgcolor="#FFFFCC">
    <TD width="220"><B>Information Provider</B></TD>
    <TD width="131"><B>Country</B></TD>
    <TD width="131"><b># of Publications</b></TD>
    </TR>
    <%-- Run SQL Query --%>
    <%
    IPName = "";
    IPNumber = 0;
    NumberOfPubs = 0;
    CountryName = "";
    sql2 = "";
         sql2 =     
    "SELECT IPs.IPNumber, IPs.IPName, IPs.CountryName, count(Titles.IPNumber) AS NumberOfPubs " +
    "FROM IPs, Titles " +
         "WHERE IPs.IPNumber = Titles.IPNumber " +
         "AND IPs.IPName LIKE " +
         "'" + request.getParameter("IPName") + "%'" +
         "GROUP BY IPs.IPNumber, IPs.IPName, IPs.CountryName ";
    try {
    rset = stmt.executeQuery (sql);
    catch (SQLException e) {
    out.println (e);
         return;
    while (rset.next ())
    NumberOfPubs = rset.getInt ("NumberOfPubs");
         IPNumber = rset.getInt ("IPNumber");
         CountryName = rset.getString ("CountryName");
         IPName = rset.getString ("IPName");
    %>
    <tr>
    <td width="220"><a href="ip_edit.jsp?IPNumber=<%= IPNumber %>"><%= IPName %>
    </a> </TD>
    <td width="219"><%= CountryName %> </TD>
    <td width="262"><%= NumberOfPubs %></TD>
    </tr>
    <%
         %>

  • Sql job - multiple queries in one step

    Hello,
    In my SQL job, if I have 2 or more stored procedures in a Single step, will it be synchronous call to each SP or all SP will run parallel?
    Thanks,

    Hello,
    In my SQL job, if I have 2 or more stored procedures in a Single step, will it be synchronous call to each SP or all SP will run parallel?
    Thanks,
    It will execute the queries (sp calls) sequentially 
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How do i access multiple bex queries in one crystal reports??

    Hello Experts,
    I have 10 cubes and 30 bex queries on it and i need to create 3 final crystal reports on these 30 queries.
    I am on BI 4.0 & CR 2011. but my client is not on correct SAP patch ie., he is on 15+ but he must be on 23+ to access multiple bex queries on CR 2011 Database expert. (I am unable to see bex queries in Database expert to link couple of bex queries)
    And my client env doesnt have SAP EP for SAP BW Netweaver Connection to create a connection to access cubes or queries in IDT.
    Do my client env need EP? so that SAP BICS Connection will work in IDT?
    How do i approach to achive this...
    Thank you...

    Hi,
    have you checked the option "allow external access" in your query? SAP Toolbar will find all queries but the database export needs this flag to be set.
    Using multiple queries within one crystal report is using the "multi database join feature" of crystal reports. You can link your queries by key fields and crystal will join them in memory. So when there are many queries or many datarows this can be a huge performance killer.
    Actuallly one of our customers is running a report which has more than 20 BEx queries linked together. It runs just fine.
    Please be sure to set your joins correctly. E.g. crystal will try to make a join on the "key figures" sturcture if you let it create a suggestion or it will try to link on all fields of an infoobject. This will bring MDX errors.
    So you should be setting your joins correctly - the [infoobject]-[20infoobject] fields are fine for that.
    I hope you can use some of my words.
    Regards
    Thorsten

Maybe you are looking for

  • Workflow: Editing Head and Tail of Raw footage

    I'm new to Premiere Pro. Using CS5.5. I'm shooting 1080i AVCHD footage on site for a production. I burn everything to DVD when I come from the shoot. I copy my footage directly from the harddrive of the camera (Sony HDR XR-200) to my RAID1. I would l

  • Was trying to buy more space, hit the wrong key, and now it is hanging mon my iPad.  How can I get rid of it?

    I was trying to buy more space on iCloud , hit the wrong key, and now it is hanging on my iPad.  What to do?

  • Cross platform migeration

    actually i want to migerate data from oracle on unix platform to oracle on windows platform. does export and import will help me in this. i want to know that wheather the oracle maintains its own file format or it is platform dependent.If it maintain

  • Problem with SAVE_TEXT FM

    Hello, I am having a problem with using the SAVE_TEXT FM. Here is the scenario. I am trying to populate the Long Text on a PM work order component line for a reservation. Prior to populating this field, no text will exist in this field. I create the

  • Dsconf export - SunOne 6.2 DS

    Do we have any command to export ldif in DS6 which does not prompt for password. I tried ./dsconf export -c -h servername -p 389 suffix-DN /path/output.ldif I know we can have -w option to pass password file, but we don't want to use it. Is there any