Query ESSBASE and Oracle in one query

What is the best way to query in the same time an ESSBASE database and an Oracle Database.I need to retrieve ESSBASE data with information stored in Oracle Database (supplement data).Thanks

I've used Oracle and MySQL together on several machines; there's no contention or incompatibility that I've ever encountered. They listen on different ports by default (1521 for Oracle, 3306 for MySQL).
As for PHP, you'll probably want to read an introductory article from the [Oracle PHP Developer Center|http://www.oracle.com/technology/tech/php/index.html]. Nothing you do there should interfere with your MySQL operations, either.
Have fun!

Similar Messages

  • Essbase and Oracle Backups

    We are currently implementing Hyperion Planning into our environment. In our existing systems ie SAP we have Oracle archiving turned on in our production systems. With Planning we have ESSBASE and Oracle to be concerned about. Is there a way to archive ESSBASE to be in sync with the Oracle archives? If so how can this be done?If the system for example crashed at 10 AM and our last offline and Essbase backups occurred at 11 PM at night, in oracle we can roll forward using the archives, but in Essbase I'm not sure if that can be done. We can't archive or put the database in read mode during the day since we have live activity going on. Are we stuck to a point where we have to restore from the 11 PM backup? Anyone have this issue?Please send comments to my email [email protected]

    I can decribe my scenario in detail.
    I got two data source from Oracle relational tables and Essbase. And I need to join them together to do analysis. To make it simple, I will illustrate it by an example.
    There is main analysis in Essbase, including fact tables and dimension tables. For example, one of the dimension tables is Time dimension which contains hierarchical data only.
    In Oracle table, I got a table named Sales_Date storing description data of Time dimension.
    Since description data needs to be used in Time dimension, I use complex join to join Sales_Date to Essbase Time dimension in physical layer and BMM layer.
    Sales_Date is dragged from physical to BMM layer, and its columns are dragged to Time dimension tables. Then New Logical Keys are created under Time dimension hierarchy for those columns.
    Finally, presentation layer is created by dragging tables from BMM layer.
    When I try to select columns from Time Dimension(including columns from Sales_Date) and fact tables, below error msg appears.
    nQSError: 42043 An external aggregate is found in an outer query block. (HY000)
    Please help.

  • Checking and inserting in one query

    Hi,
    I want to check for the existance of a record in a table. If the record is not present then I would like to insert the data.
    I have written a query for this but it is giving me error as ORA-01427: single-row subquery returns more than one row which is true.
    Please help me to rewrite this query. I do not want any procedures etc to apply. Just one query.
    insert into mif_type_temp (FLD_TYPE, FLD_VALUE) values ('SIN', (select b.empname from
    *(select empname from testing tes where not exists*
    *(select 1 from mif_type_temp where tes.empname = FLD_VALUE))b))*
    Thanks

    The VALUES clause can only accept scalar values. Maybe you could try something like this?
    INSERT INTO mif_type_temp
    ( fld_type
    , fld_value
    SELECT 'SIN'
         , empname
    FROM   testing test
    WHERE NOT EXISTS (
                       SELECT 1
                       FROM   mif_type_temp mtt
                       WHERE  test.empname = mtt.fld_value
    ;

  • Oracle Reports : one query - two reports?

    Help, please, Oracle Reports 10g.
    I have a query, need to make two reports in one. They are similar, just couple parameters are different, say, entreprise type and region;
    How do I display these two reports in one? I tried to make parameters as placeholders, package variables, put an trigger on outer frames for reports. parameters do change their values but just the same report displays twice. where is the trick?
    Thank you

    The way I have done this in the past was to create 2 master frames, 1 for each report and then put conditions on each frame as to when it is to appear. Hope this helps..

  • Hung queries, and Oracle thin driver query timeout implementation

    We are seeing occasional instances of stuck threads, where the code is in Oracle thin XA driver code waiting for a socket read for a response from the database. Usually only one thread at a time. The connection never terminates and we have to shut down WebLogic to clear it. The DBAs tell us that all connections to the 11g RAC cluster members from our hosts are idle, with no hung or long-running transactions.
    This happens every few days across two WebLogic 10.3.5 clustered instances in our QA environment, usually not the same time on two servers (one had four incidents, the other had only one, in the last 15 or so days). Sometimes it has resulted in a hung server, as the driver is holding a lock that blocks other threads (today we had numerous threads block in a TX rollback).
    I'm guessing our WebLogic instance somehow is not getting the connection close from the remote host. BTW, there is no firewall between us and the DB. I have not got any strong suspect for the cause (although we are running Linux on a VMWare 4.0 VM, which always worries me).
    Ordinarily I'd either ask the application to set a query timeout, or set the query timeout parameter for the connection pools as a workaround (we are using a MultiDatasource), so the transaction would at least abort and the application can handle it. However, while the Oracle driver does support java.sql.Statement.setQueryTimeout(), some brief investigation on my part leads me to believe the timeout is implemented on the server side and not the client side - so that if it is indeed the case that WebLogic does not see the close on the connection, it also would never see the timeout.
    Two questions:
    1. Is my suspicion about server-side implementation of timeout for Oracle 11g correct?
    2. If so, is there some property I can set for the driver that will implement a socket timeout? Is this "safe"?
    Thanks for any help!
    [ Oracle WebLogic 10.3.5, HotSpot 64 bit JVM 1.6.0_29 on RHEL 5.6 on VMWare; Oracle Thin XA driver bundled with WebLogic; Oracle RAC 11g (three-node cluster)]
    Edited by: SteveElkind on Dec 3, 2012 5:25 AM

    Thanks, Joe.
    My investigations were heading in this direction (e.g., http://docs.oracle.com/cd/B28359_01/java.111/b31224/apxtblsh.htm#CHDBBDDA). However, for WebLogic, is it as simple as adding the following property in the Datasource Connection properties edit box in the WebLogic console?
    oracle.net.READ_TIMEOUT=300000
    or do I have to edit the connection URL?
    I've tried this, and the Datasource restarts OK after the change, but I have no way right now to check whether it actually "works".
    (we have some long-running queries; five minutes seems to be a "safe" limita for now)

  • Categories, subcategories and items in one query

    Hi,
    I have this situation.
    I have a category table, a subcategory table and an item
    table. The structure is like below:
    Category
    id_cat..........catname
    1...................cat1
    2...................cat2
    3...................cat3
    4...................cat4
    Subcategory
    id_subcat.......subcatname.......id_cat
    1...................subcat1....................1
    2...................subcat2....................1
    3...................subcat3....................2
    4...................subcat4....................3
    Items
    id_item..........itemname.........id_subcat.......id_cat
    1.....................item1.................1.........................1
    2.....................item2.................1.........................1
    3.....................item3.................2.........................1
    4.....................item4.................0.........................2
    5.....................item5.................0.........................2
    *0 from "id_subcat" in Items table means that the item will
    belong directly to the category (and the category won't have
    subcategories)
    I want to display them like this:
    Cat1
    ...subcat1
    .........item1
    .........item2
    ...subcat2
    ..........item3
    ...subcat3
    Cat2
    ..........item4
    ..........item5
    Cat3
    ...subcat4
    Cat4
    *Cat3 and Cat4 doesn't have any items in it but I still want
    to display their names
    How can it is possible with CF and SQL? (using SQL server)?
    Thank you.

    Well...not quite...
    It seems the code doesn't work as expected.
    It works as expected with the data which already put
    there...but if I put new data (like adding a new
    category,subcategory and items) it doesn't display as I want it.
    So, it may be a problem with bith CF AND SQL...
    If I add a new category (and that category won't have
    subcategories and items) then it won't be displayed (if I modify
    the SQL so the INNER JOIN will become also a LEFT JOIN that new
    category gets displayed...but another category dissapears! (and
    that category has items in it).
    If I add a new subcategory to that new category it won't be
    displayed (in both INNER JOIN or LEFT JOIN).
    If I let the SQL as it is now (first INNER JOIN and the
    second LEFT JOIN) and I add an item to a category I already have
    (or subcategory) that item will be displayed in another category
    than where it suppose to be (I am adding that item manually and I
    check into the database to have the right IDs for categories and
    subcategories).
    So, I am confused...I don't know what's wrong...
    Any other ideas would be helpful, thanks.

  • BIEE access to Essbase and Oracle

    I need to access Essbase through BIEE, and lookup the description from Oracle DB using the Essbase id retrieved at particular levels.
    I experienced that even though I select two dimensions out of the five dimensions, all dimensions will be accessed with crossjoin as below:
    With
    set [MATERIALS5] as '[MATERIALS].Generations(5).members'
    set [GEOGRAPHY5] as '[GEOGRAPHY].Generations(5).members'
    set [YEARS2] as '[YEARS].Generations(2).members'
    set [DATE5] as '[DATE].Generations(5).members'
    set [Axis1Set] as 'crossjoin ({[MATERIALS5]},crossjoin ({[GEOGRAPHY5]},crossjoin ({[YEARS2]},{[DATE5]})))'
    select
    {[MEASURES].[AMOUNT]} on columns,
    NON EMPTY {[Axis1Set]} properties ANCESTOR_NAMES, GEN_NUMBER on rows
    from [CUBE01.JP]
    Basically, I only retrieve month only and also the month properties at level 3 of "DATE" dimension. Why is 'DATE5' needed when I need MONTH only (which is 'DATE3')? Is the above an optimal path for the Essbase access?
    My experience is that I see the memory grows up and up and then reaches around 2GB and then BIEE returns an error. Then I also need to restart BIEE so that I can rerun the query.
    Can anyone give me any hints how to tune up the access and address this problem?
    Thanks

    Hi,
    Are there any document that describes how to interpret the following generated statement?
    >>>
    With
    set MATERIALS5 as 'MATERIALS.Generations(5).members'
    set GEOGRAPHY5 as 'GEOGRAPHY.Generations(5).members'
    set YEARS2 as 'YEARS.Generations(2).members'
    set DATE5 as 'DATE.Generations(5).members'
    set Axis1Set as 'crossjoin ({MATERIALS5},crossjoin ({GEOGRAPHY5},crossjoin ({YEARS2},{DATE5})))'
    select
    {MEASURES.AMOUNT} on columns,
    NON EMPTY {Axis1Set} properties ANCESTOR_NAMES, GEN_NUMBER on rows
    from http://CUBE01.JP
    <<<
    Thanks

  • SAP query load to Oracle

    Hi,
    I'm looking for the best way to automate the results of an SAP query (Quickviewer) to Oracle. The query would run nightly. I searched all SND forums but did not find much. I also looked at the SAP application help for Quickviewer.
    Regards,
    John

    David,
    Just an FYI the error message that you have found is not connected to your BLS transaction but rather the default IDoc listener trying to connect to something that doesn't exist.  This listener will automatically start each time xMII starts, as a result you can set it up to connect to an RFC destination or delete the default configuration and it will go away. 
    Now onto your issue; How many Production Orders are being returned from the BAPI?  How are you loading each of them into Oracle?  How much memory is allocated to ServletExec vs. How much is available on the machine?  By default xMII will limit all SQL/Tag queries to their <b>RowCount</b> with a max at 250k rows but this does not apply to the JCo call.
    My suggestion here is to look for the other error message that pertains to your transaction which may reside in the ServletExec logs and not xMII, they can be found on your xMII machine here: http://localhost/servletexec/admin/login.jsp
    Hope this helps.
    Sam

  • Hyperion Backup of Windows and Oracle DB

    <p>Hi,</p><p> </p><p>I have a question regarding Hyperion System 9 backup of windowsservers and Oracle/Essbase backup.</p><p> </p><p>Do we need to bring down all the services and backup all windowsservers and Oracle/Essbase together.  If we need to restoreonly windows or lets say Oracle.  Will that be out of sync. Do we have be in sync all the time ?</p><p> </p><p>Thanks</p><p> </p><p>Azmat Bhatti</p>

    Hello,<BR>You did not specify which relation Essbase and Oracle have in your environment. I my answer I assume you create Essbase databases from your Oracle environment to analyze this data. You extract with SQL statements and rule files data from Oracle to build up your outlines and load the data. <BR><BR>In this, I would not say you need a synchronous backup, since with a new refresh your structure will be created and the data loaded. Ofcourse I would not recommend more than 24 hours between the backup of Essbase versus Oracle.<BR><BR>I hope this answered your question.<BR><BR>Regards,<BR>Philip Hulsebosch<BR><BR>www.Trexco.nl

  • How I can change this query, so I can display the name and scores in one r

    How I can change this query, so I can add the ID from the table SPRIDEN
    as of now is giving me what I want:
    1,543     A05     24     A01     24     BAC     24     BAE     24     A02     20     BAM     20in one line but I would like to add the id and name that are stored in the table SPRIDEN
    SELECT sortest_pidm,
           max(decode(rn,1,sortest_tesc_code)) tesc_code1,
           max(decode(rn,1,score)) score1,
           max(decode(rn,2,sortest_tesc_code)) tesc_code2,
           max(decode(rn,2,score)) score2,
           max(decode(rn,3,sortest_tesc_code)) tesc_code3,
           max(decode(rn,3,score))  score3,
           max(decode(rn,4,sortest_tesc_code)) tesc_code4,
           max(decode(rn,4,score))  score4,
           max(decode(rn,5,sortest_tesc_code)) tesc_code5,
           max(decode(rn,5,score))  score5,
           max(decode(rn,6,sortest_tesc_code)) tesc_code6,
           max(decode(rn,6,score))  score6        
      FROM (select sortest_pidm,
                   sortest_tesc_code,
                   score,
                  row_number() over (partition by sortest_pidm order by score desc) rn
              FROM (select sortest_pidm,
                           sortest_tesc_code,
                           max(sortest_test_score) score
                      from sortest,SPRIDEN
                      where
                      SPRIDEN_pidm =SORTEST_PIDM
                    AND   sortest_tesc_code in ('A01','BAE','A02','BAM','A05','BAC')
                     and  sortest_pidm is not null 
                    GROUP BY sortest_pidm, sortest_tesc_code))
                    GROUP BY sortest_pidm;
                   

    Hi,
    That depends on whether spriden_pidm is unique, and on what you want for results.
    Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevamnt columns only) for all tables, and the results you want from that data.
    If you can illustrate your problem using commonly available tables (such as those in the scott or hr schemas) then you don't have to post any sample data; just post the results you want.
    Either way, explain how you get those results from that data.
    Always say which version of Oracle you're using.
    It looks like you're doing something similiar to the following.
    Using the emp and dept tables in the scott schema, produce one row of output per department showing the highest salary in each job, for a given set of jobs:
    DEPTNO DNAME          LOC           JOB_1   SAL_1 JOB_2   SAL_2 JOB_3   SAL_3
        20 RESEARCH       DALLAS        ANALYST  3000 MANAGER  2975 CLERK    1100
        10 ACCOUNTING     NEW YORK      MANAGER  2450 CLERK    1300
        30 SALES          CHICAGO       MANAGER  2850 CLERK     950On each row, the jobs are listed in order by the highest salary.
    This seems to be analagous to what you're doing. The roles played by sortest_pidm, sortest_tesc_code and sortest_test_score in your sortest table are played by deptno, job and sal in the emp table. The roles played by spriden_pidm, id and name in your spriden table are played by deptno, dname and loc in the dept table.
    It sounds like you already have something like the query below, that produces the correct output, except that it does not include the dname and loc columns from the dept table.
    SELECT    deptno
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
               SELECT    deptno
               ,          job
               ,          max_sal
               ,          ROW_NUMBER () OVER ( PARTITION BY  deptno
                                              ORDER BY          max_sal     DESC
                                )         AS rn
               FROM     (
                             SELECT    e.deptno
                       ,           e.job
                       ,           MAX (e.sal)     AS max_sal
                       FROM      scott.emp        e
                       ,           scott.dept   d
                       WHERE     e.deptno        = d.deptno
                       AND           e.job        IN ('ANALYST', 'CLERK', 'MANAGER')
                       GROUP BY  e.deptno
                       ,           e.job
    GROUP BY  deptno
    ;Since dept.deptno is unique, there will only be one dname and one loc for each deptno, so we can change the query by replacing "deptno" with "deptno, dname, loc" throughout the query (except in the join condition, of course):
    SELECT    deptno, dname, loc                    -- Changed
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
               SELECT    deptno, dname, loc          -- Changed
               ,          job
               ,          max_sal
               ,          ROW_NUMBER () OVER ( PARTITION BY  deptno      -- , dname, loc     -- Changed
                                              ORDER BY          max_sal      DESC
                                )         AS rn
               FROM     (
                             SELECT    e.deptno, d.dname, d.loc                    -- Changed
                       ,           e.job
                       ,           MAX (e.sal)     AS max_sal
                       FROM      scott.emp        e
                       ,           scott.dept   d
                       WHERE     e.deptno        = d.deptno
                       AND           e.job        IN ('ANALYST', 'CLERK', 'MANAGER')
                       GROUP BY  e.deptno, d.dname, d.loc                    -- Changed
                       ,           e.job
    GROUP BY  deptno, dname, loc                    -- Changed
    ;Actually, you can keep using just deptno in the analytic PARTITION BY clause. It might be a little more efficient to just use deptno, like I did above, but it won't change the results if you use all 3, if there is only 1 danme and 1 loc per deptno.
    By the way, you don't need so many sub-queries. You're using the inner sub-query to compute the MAX, and the outer sub-query to compute rn. Analytic functions are computed after aggregate fucntions, so you can do both in the same sub-query like this:
    SELECT    deptno, dname, loc
    ,       MAX (DECODE (rn, 1, job))     AS job_1
    ,       MAX (DECODE (rn, 1, max_sal))     AS sal_1
    ,       MAX (DECODE (rn, 2, job))     AS job_2
    ,       MAX (DECODE (rn, 2, max_sal))     AS sal_2
    ,       MAX (DECODE (rn, 3, job))     AS job_3
    ,       MAX (DECODE (rn, 3, max_sal))     AS sal_3
    FROM       (
                   SELECT    e.deptno, d.dname, d.loc
              ,       e.job
              ,       MAX (e.sal)     AS max_sal
              ,       ROW_NUMBER () OVER ( PARTITION BY  e.deptno
                                           ORDER BY       MAX (sal)     DESC
                                          )       AS rn
              FROM      scott.emp    e
              ,       scott.dept   d
              WHERE     e.deptno        = d.deptno
              AND       e.job                IN ('ANALYST', 'CLERK', 'MANAGER')
                  GROUP BY  e.deptno, d.dname, d.loc
              ,       e.job
    GROUP BY  deptno, dname, loc
    ;This will work in Oracle 8.1 and up. In Oracle 11, however, it's better to use the SELECT ... PIVOT feature.

  • Different output of same query in SQL Server and Oracle

    I have two tables table1 and table2
    --table1 has two columns c1 int and c2 varchar. there are not constraints added in it. it has data as given below
    c1     c2
    6     d
    5     j
    102     g
    4     g
    103     f
    3     h
    501     j
    1     g
    601     n
    2     m
    --table2 has only one column c1 int. there are not constraints added in it. it has data as given below
    c1
    6
    1
    4
    3
    2
    now when i run below given query in sql server and oracle it gives me different result
    select *
    from table1
         inner join (SELECT ROW_NUMBER() OVER (order by c1 ASC) AS c1 from table2) table2 on table2.c1=table1.c1
    sql server output
    c1     c2     c1
    1     g     1
    2     m     2
    3     h     3
    4     g     4
    5     j     5
    oracle output
    C1 C2 C1
    5 j 5
    4 g 4
    3 h 3
    1 g 1
    2 m 2
    If you notice the first column in both output. It is sorted in sql server and not in oracle.
    Why it is behaving differently in oracle? Is there any way I can solve this in oracle?
    Thanks,
    Jigs

    It is NOT behaving "differently" in Oracle; you just haven't specified an order that you expect your results to be in, so you're going to get output in whatever order the database fancies displaying it (ie. no guarenteed order). This is an artifact of how the database chooses to put together the data, and different databases (or even datasets within the same database) can and most likely will behave differently.
    Even SQL Server won't guarentee to always get your data in an ordered fashion if you exclude the order by clause, even if you think it has always output the data in an ordered fashion.
    Your solution is to add an order by clause, in BOTH databases, to force the order of the output data.

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • Query based on Oracle and MS Access connections

    I hope this is in the correct spot.
    I am using Oracle SQL Developer to extract data from some Read Only tables in Oracle.
    What I would like to do it have a list of numbers in a MS Access database to select the same number from Oracle tables, then export the data out to Access or Excel. There may be several thousand numbers at a time.
    I asked if they would give me one table with one column in Oracle I could read/write to but the answer was no.
    I have my connection strings working to both the Oracle tables and to the Access database but i can not figure out how to build a query using both tables.
    If I build a query to the Access table can I use that query somehow in the query of the Oracle table?
    Thanks
    Steve

    Not real sure if this is doable or would help, but perhaps you can load the access table into an Oracle Global Temporary Table? See http://www.oracle-base.com/articles/8i/TemporaryTables.php (and google on it). I think I'm assuming your 11 hour query had something to do with shovelling a bucketload of data to the access side, perhaps if you could show us the plan on the Oracle side that access was generating to get the Oracle data there might be a different answer.
    Oftentimes cross-db tools won't use Oracle features like analytics, or do slow-by-slow row processing where a short procedure could do things within the Oracle sql engine and return data in larger arrays.
    Sometimes mass data cleansings benefit from using server side tools outside of the db. Do you have the data from before it was loaded to Oracle? What Oracle platform are you on?

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello,
    I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
    the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
    I will appreciate if you guys help me. I look forward to hearing from you guys.
    Thanks,
    Pinar

    Pinar,
    to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
    There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    And there's also a dedicated Forum: Heterogeneous Connectivity

  • SQL query against tables on MS SQL Server and Oracle using Oracle BI

    Hi All
    I have two databases Oracle and MS SQL Server. I want to write a query statement which will retrieve data from both databases and publish this data into one report. That is I want to join/merge data from tables in both database into one report with one SQL Statement something like:
    Select o.F1,o.F2, m.F1,m.F2
    from
    table@oracleServer o,
    table@microsoftSQLServer m
    where o.F1=m.F1;
    Can Oracle BI Publisher do this?
    Basically I want to query simultaneously two heterogeneous data sources in one SQL statement. Is there such a tool? I don't want to build a warehouse by moving data from SQL Server into Oracle or vice-versa. I don't want to duplicate data. I want to be able to query data at its source via 1 SQL statement.
    How would one go about doing such a thing?
    Many Thanks
    Kubilay.

    Hi Matt and Thomas
    Many thanks for your replies.
    Yes I have to do the join. Even worse I have to write an Aggregate query like this!
    Select o.F1,o.F2, m.F1,m.F2, count(*)
    from
    table@oracleServer o,
    table@microsoftSQLServer m
    where o.F1=m.F1
    group by o.F1,o.F2, m.F1,m.F2;
    These are 2 different systems (hardware & software) which actually do the same job, they produce transactions for a common business entity. Kind of, both sell tickets for the same ABC ferry company.
    I can not put them side by side on the dashboard, as I need to aggregate the data and present it maybe in a Oracle BI Report for Accounting and Financial reconciliation purposes.
    The truth is, as it is. I can't change it, is too late.
    I have to device a way to harvest both systems as they are. I don't want to move around data. I thought looking at Oracle BI I could write SQL against multiple Data Sources. I am struggling to find a way. As it seems that it can "SQL query" 1 data source at a time.
    I have been hinted on another forum (OracleTURK) to use Oracle Transparent Gateways and Generic Connectivity. http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    Shame, I have to pay licenses for OWB and Oracle Transparent Gateways. I thought DB vendors can do better. Why do I have to pay to access the other 50% of the market.
    I can understand the performance implications this might have. Because of it I might even be forced at the end to move data (ETL) into a separate database, slice it into partitions and manage it that way. Pitty because currenlty I only need one report out of these systems but seems like will be dear to get.
    Thank you for all your help.
    Kubilay

Maybe you are looking for

  • [SOLVED] dmraid "Timed out waiting for device" at boot

    Created a bug report with solution proposal: https://bugs.archlinux.org/task/33166 I created a virtual machine to demonstrate the problem https://docs.google.com/open?id=0B40Hp1 … WZUQ21xZk0 The root and the other mount points are all on one raid dis

  • Embed Web based reviews into PDF

    We are using the ESM solution accelerator which initiates web-based reviews.  The comment files created by Acrobat are stored as RSS feeds.  At the end of a stage, I need to deliver a self-contained PDF with all the comments.  I'm looking for DDX or

  • Power PC G5 - can I upgrade the processor?

    Hello, I have had my G5 since 2004, I love it. I have only ever had to upgrade the memory in the years I have had it. However, now that the processor is no longer used I can not upgrade the OS any further and many new programs both Apple and other wi

  • Why does labview take so long to load

    I have LabVIEW installed: along with LV RT and LV FPGA. When I want to target an FPGA board: 7813 or 7811 for example, the LV load time is minutes versus seconds.  I understand that VISA is used to interface to the RIO boards.  It seems that there is

  • Workspace settings?

    How do I make sure Photoshop saves my workspace settings? It seems like everytime I open it back up, it goes back to the default.