Two types of queries in one report

Hello,
Does anyone know if it is possible in reports builder to query from two different systems, DB2 - jdbc and oracle - sql and then join the data based off a related field from each query. Then use this joined data to build a report?
Please let me know.
Brian

Since you can only login once, you will have to sort this out with a database link between the two databases. Use the Oracle gateway for DB2, or make a jdbc connection from Oracle to DB2.

Similar Messages

  • Two queries in one report?

    I have Three tables like
    Device_table columns are
    d_id, d_name, date
    Software_table
    sw_id, software, version, serial_no, sw_type, d_id(foreign_key)
    hardware_table
    hw_id, hardware, specification, d_id(foriegn_key)
    now in reports i want to attach both hardware and software, I have made two quires like
    SELECT d.d_name, sw.software, sw.version, sw.sw_type from
    device_table d, software_table sw
    where d.d_id = sw.d_id
    and second query is
    SELECT d.d_name, hw.hardware, hw.specification
    from device_table d, hardware_table hw
    where d.d_id = hw.d_id
    Now my problem is that how can I add both queries in one report so that i can get a list of software and hardware attached to one device.
    Regards
    Maz

    I want to see the report as follow.
    d_name: CPU-1
    date: -----------
    Software installed:
    sw_id, software, version, serial_no, sw_type
    (list of softwares attached, can be more then one)
    Hardware attached:
    hw_id, hardware, specification (same like software list, it will contain hardware list attached to specific device),
    Please if you can help me that how will i make a query for this.
    Thanks and Regards
    Maz

  • 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

  • Two types of taxs of one item

    Hi Experts:
       I face one problem of posting tax.
       In some cases of our business,there r two types of taxes in one item. First one is paid by customer and another is paid by our company.
       We want to generate the accounting document like that:
       DR: customer AR
       CR: SALES REVENUE
           OUT PUT TAX PAID BY CUSTOMER
       DR: EXPENSE Account
       CR: Tax paid by us
       Can I do it like this? If possible, how can I configure it?
    Thanks and Best Regards
    David Wang

    Hello,
    Discuss with your finance team
    Thanks
    RK

  • Two separate queries in one report

    Hi Gurus,
    Is it possible to make two separate queries in the same worksheet (I need to have a column in my report from a different query from this report). As we can have more than one query in Oracle Reports, similarly, is it possible to have more than one query in Oracle Discoverer Report.
    Thanks,
    Pooja

    The functionality your looking for is not available in Discoverer today. You can have two separate worksheets within Discoverer, one to run each query. Another option is only available in Discoverer Desktop, it is called a subquery which allows you to run one query and then pass the results as a parameter into your workbook. However, I don't believe either of those options resolve the problem your looking to solve.
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]

  • 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.

  • Linking two PL/SQL queries in 10G reports builder

    Hi,
    I have two complex SQL queries and I want to link one to the other.
    ie. I have a class of applicants and I want to retrieve their information, I do this with query one. Then for each applicant I have a number of checks all of which must be held in a cursor, so I have query two. But for each entry in query one I want to link it to the entry in query two.
    Data links dont seem to work for PL SQL queries, so any suggestions on how I would do it?
    Thanks G.

    What is a PL SQL query?

  • Two selection screen problem in one report

    i have a two selection screens 1000 & 2000 in single report , which needs to be executed one after the other ,
    the problem is when i execute second selection screen(2000) , the cursor is going back to at-selection-screen once again.
    but i need to trigger start-of-selection directly after executing second selection screen,
    the first selection screen 1000 will be executed with the help of select options..
    the sample code is below .
    at-selection-screen.
        perform validations.
       call selection screen 2000.
        at selection screen on value request p_adm
    start-of-selection.
       main logic

    Moderator message - Cross post locked
    Rob

  • Help! converting two types of video into one format so I can edit

    Right Folks, go easy because I’m a novice.
    I’m having major problems getting two different types of video to work together in final cut pro 7.
    I’ve recorded something with two different HD cameras and I’m totally aware I need to convert them to the same format so I can begin to edit them. I’ve got Mpeg stream clip, could anybody help me convert them?

    Hi Dave, one of the cameras I have is Sanyo Xacti VPC-CG10 this shoots onto 16GB SDHC class 2, to work this in final cut I'm aware I have to compress using Apple ProRes 422 Codec which works fine.
    The other Camera is a panasonic I have shoots on SDHC Class 6 cards and I usually compress at HDV 720P 25fps. which also works fine.
    I can edit both individually, the latter, the panasonic camera is simple to capture and edit and is the camera I use the most but on this particular shoot I need to use both together.
    So I think its the Sanyo that's causing me the problem.

  • Multiple BEx queries in one report

    Hi All,
    I would like to know if we can use multiple BEx queries in a single report using Crystal Report 2008 / 2011?
    If so, there is another requirement follwoing the above as below:
    I have objects obj1,obj2,obj3 in query 1 and objects obj1, obj2, obj4 in query 2. I have prompts based on obj1 from query1 and prompt on obj4 from query2.
    So, when I enter a value in prompt1 for obj3, i need to have query1 executed and display the data and data should not be displayed from query2. Similarly, if I enter value for prompt2 of query2, only query2 data to be displayed.
    Pls suggest if this can be achieved and how?
    Thanks,
    Naresh
    Edited by: NareshKatakam on Jul 22, 2011 11:25 AM

    Use a subreport for each query

  • Can we have two DB's connection in one report???------ Very Urgent

    Hi,
    this might be a silly question......
    If my Report is having 3 grids can i connect to 3 different databases one for each???? or there will be only one DB connection for all Grids????
    this is really urgent for me....

    Hi,
    Every grid can have its own different database connection.
    The database connection is set at the grid level. That's why when you import a grid in the report, it opens a selection for connection.
    In your case, bring first grid, select a DB connection. Then repeat for 2nd and 3rd grids.
    Let me know if it helps.
    Cheers
    RS

  • I need two query in one report (two detail section in one query)

    Hi master sorry for again distribute
    Sir I need two query in one report
    Because I need two detail section in my one report
    Such as
    Master
    Vno=9088989
    Detail          1
    =
    =
    ==
    =
    Total                     99999
    Detail          2
    =
    =
    ==
    =
    Total                     33333
    Sir how I get this type of report
    Please give me idea
    Thanking you
    Aamir

    I want to see the report as follow.
    d_name: CPU-1
    date: -----------
    Software installed:
    sw_id, software, version, serial_no, sw_type
    (list of softwares attached, can be more then one)
    Hardware attached:
    hw_id, hardware, specification (same like software list, it will contain hardware list attached to specific device),
    Please if you can help me that how will i make a query for this.
    Thanks and Regards
    Maz

  • Two different condition types in one report

    Hello,
    i have a problem with the conditional display of a report.
    I want to use two different condition types for one report.
    For example I want to show the report only when the page is not in printer friendly mode and when the value of an item is NULL.
    Is that possible?
    Has anyone a solution for this problem?
    Thank you,
    Tim

    Tim,
    you can use
    IF V('PRINTER_FRIENDLY') = 'YES' AND :P1_ITEM IS NOT NULL THEN RETURN FALSE;
    ELSE RETURN TRUE;
    END IF;
    in the Conditional Display picking PL/SQL Function Body returning a Boolean.
    Denes Kubicek

  • One Conversion Type and two Exchange Rate Types in one report

    I have Conversion Type called TEST. In this Conversion Type there is Exchange Rate Type D selected (D-daily). I have also Fixed Target Currency selected. And the report works perfectly fine....BUT.......there is also Exchange Rate Type M defined in the system (and it used for the exchange rate used last day of the month).
    The question is: how to put both Exchange Rate Types into one Conversion Type so both types are used in the reports?

    Hi,
    You can go for a variable exchange rate type.
    Creating variable:
    For this you have create a varible which can take diffrent exchange rate types.
    Open query designer create a new dummy query in that search for infoprovider 0RTYPE.
    It will have one dimension(name ->key) with 0RTYPE in it.
    create a variable for 0RTYPE.
    Save and close the query.
    goto RSCUR -> give your translation type -> go to exchange rate tab -> choose Ex. Rate from var option -> give the variable you have created prviously for 0RTPYE.
    Rest all same but just for completion...
    Go to your query in which in u want to do cur conversion.
    Double click on the key fig
    Go to conversions tab-> select the conversion type u created in RSCUR.
    When you run the query you can select the exchange rate type in the variable screen.
    rgds,
    Raghu

  • Two data Models in one report

    Hi There,
    I have created two data model for my report. The queries have no relation to each other. Is that possible to put both these in one report with same user parameters. or do u have any better suggestion to do this.
    For Example:
    select count(*) from (select name "Worker" from person
    where start_date between (:P_1) and (:P_2)
    select count(*) from (select name "ADMIN PERSON" from admin
    where start_date between (:P_1) and (:P_2)
    Thanks

    Hi Jagjit,
    I created one report with 2 SQL queries:
    select count(*) from employees where department_id < :P_1
    and
    select count(*) from departments where department_id < :P_1
    And it worked fine. So your report should be OK. By the way, a report has just one "Data Model". It is possible to have 2 or more "Queries" in the data model.
    Navneet.

Maybe you are looking for

  • Vendor Email id in  PO Output tabhttps

    Hello All, We have a business requirement where, we need to modify the vendor contact details (Email, phone, fax) while creating the PO. After shopping cart approved completely, then the PO will gets created automatically. To meet this requirement I

  • Use FTP Transport Protocol (XI) to send text file created from R3

    I've configured a Port in IDoc Processing (WE21) to create an output file from a Bank Partner Profile (WE20) where my Message Type is PAYEXT and IDoc Type PEXR2002. I need to take this Text File and send it to the Bank;s FTP site using the Integratio

  • "This Computer" Not showing up in clusters.

    When I try and submit a batch "This Computer" doesn't show up under my cluster options. This just started Friday, but I didn't get around to try and troubleshoot it until now (Tuesday) because of the holiday weekend. In Batch Monitor it doesn't show

  • Stabilize in iMovie 10.0.1 seems to unstabilize!

    I haven't tested this much, but with an old project I converted from iMovie v9 to the new iMovie v10, which was stabilized successfully before, the new iMovie seems to do the opposite of stabilizing when I apply stabilization. Believe it or not, inst

  • Conditions in TAXINN

    Hi  Friends Can anybody please tell me the usage of the following conditions. I am using TAXINN procedure but i am not able to find these conditions.these are maintained in Best Pracitices but these are not appearing in Golden Client. If I want to ma