Can join queries in Oracle 8i and above span multiple databases

Hi,
In Oracle 8i and above, can join queries span multiple databases??
For eg., I have two databases A and B, and say database A has table A_T and
database B has table B_T. Assume that both the databases are on the same
server.
Can I run a join query from my application using OCI calls that spans across
tables from multiple databases, namely, A_T and B_T?
My query probably looks like this - Select * from A.A_T, B.B_T;
Thank you,
Sashi

In Oracle 8i and above, can join queries span multiple databases??
For eg., I have two databases A and B, and say database A has table A_T and
database B has table B_T. Assume that both the databases are on the same
server.
Can I run a join query from my application using OCI calls that spans across
tables from multiple databases, namely, A_T and B_T?
My query probably looks like this - Select * from A.A_T, B.B_T;If you create a database link from database A to B your SQL would look something like this:
select * from A.A_T, B.B_T@dbB where A.A_T.PK = B.B_T.PK@dbB
The Oracle manuals should have the information you need on creating a database link.

Similar Messages

  • Can I have both Oracle 8i and Oracle 9i servers on a s Solarix Box

    Can I have both Oracle 8i and Oracle 9i servers installed on a single Solaris box !? Or say .. any other flavour of unix
    Thanks in advance.
    ---Srini

    Yes! By all means, you can.
    You will just have to install Oracle under different directories for different versions and set the ORACLE_HOME accordingly.

  • Urgent: Regarding Join Syntax in Oracle 9i and 10g

    Dear Members
    Please help me by providing me the synatx of following Join statements for Oracle 9i and 10g:
    1.Inner Join
    2.Left Outer Join
    3.Right Outer Join
    4.Self Join
    5.Cross Join
    6.Full Outer Join
    N.B. I NEED THIS HELP URGENTLY
    Regards
    Praveen Kumar Pandey

    Inner join
    SELECT *
      FROM a,
           b
    WHERE a.<<column>> = b.<<column>>Left Outer Join
    SELECT *
      FROM a LEFT OUTER JOIN b
             ON a.<<column>> = b.<<column>>Right Outer Join
    SELECT *
      FROM a RIGHT OUTER JOIN b
             ON a.<<column>> = b.<<column>>Full Outer Join
    SELECT *
      FROM a FULL OUTER JOIN b
             ON a.<<column>> = b.<<column>>Self Join
    SELECT *
      FROM a a1,
           a a2
    WHERE a1.<<column>> = a2.<<column>>Cartesian Join
    SELECT *
      FROM a,
           bJustin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • ORACLE 817 and above IS NOT certified on RedHat 7.1 and above

    Hi,
    ORACLE 817 and above is not certified on RedHat 7.1 and above.
    I would not waste any time. Rather would go with
    SUSE (It works like a charm...) http://www.suse.de/en/support/oracle/
    or TurboLinux
    Regards,
    Sebastian

    Go to www.oracle.com.
    click on downloads in the upper right.
    Select 8i Enterprise edition in the select product box.
    select 8.1.7 for linux.
    You should see the glibc patch on this page.
    you will need a userid and password to the oracle technology network, but these are free if you do not have one.
    Thanks
    Don

  • CAN I INSTALL BOTH (ORACLE 9IAS AND ORACLE DATABASE )INTO SAME MACHINE.

    oracle 9ias and oracle 9i database in same machine Feb 25, 2003 11:22 PM
    Reply
    Dear Friends,
    I installed oracle 9ias. and then i hosted my form,report into that server . All was working properly.
    at this time my database was into another machine.
    then i installed oracle 9i database into the same machine
    (as the oracle 9ias was installed)
    at the instalation of oracle 9i database one error comes
    and shows that Agent configuration Assistant Installation
    fail.
    but After installation of database it work properly.
    there is no problem.
    but when I try to run from through web(by using oracle 9ias)
    it gives Internal error(500).
    i check and find that my appache server for 9ias is working properly and in services of windows 2000 no error comes.
    HOW CAN I INSTALL BOTH (ORACLE 9IAS AND ORACLE DATABASE )INTO SAME MACHINE.
    With regards
    Siddharth Singh
    [email protected]

    Hi James,
    Have u ever tried ORACLE 9iAS R2 on Redhat Linux ?
    If yes what is the version of RH Linux you were using ?
    Any docs for that ?
    [email protected]
    Regards
    Amudharasu

  • How can I get the image width and height stored in database?

    Hi!I write s servlet to display images store in database.but how can I get the image width and height?

    Have you tryed using PJA or a similar library?
    I presume you get java.lang.NoClassDefFoundError on the line :
    Toolkit.getDefaultToolkit();?

  • Oracle 10G and UCCX 5.0 Database Connection return 0 rows on query

    Currently I have an issue with UCCX 5.0 and Oracle 10G, we need to access a table on an Oracle10G DB, form IP IVR, so I installed the driver, created the ODBC connection and declared the ODBC, user and password on the Database subsystem (name on UCCX match the ODBC name) and restarted the engine.
    Im trying to do simple select statement (SELECT * FROM TABLE) and I'm getting a 0 count once I test it.

    Hi,
    I see it has been a while since you posted this question, but I am having exactly the same problem with an Oracle integration and I was wondering if you were able to fix this and how.
    Your reply will be greatly appreciated.
    Regards,
    Eduardo

  • Can a block in Oracle contain rows/data from multiple tables?

    Hi during my discussion with one of the DBAs, a point came up i.e. A block shouldn't have rows from multiple tables...
    Is that true? I read in one of the OTN thread (i don't exactly remember the thread name) that a block can have data from multiple tables. If it doesn't have, what's the table directory in block signifies?
    Please share your views.
    Thanks,
    CSM

    CSM.DBA wrote:
    Hi,
    As per the above link,
    Table directory
    For a heap-organized table, this directory contains metadata about tables whose rows are stored in this block. Multiple tables can store rows in the same block. (Logical Storage Structures)
    And by default Oracle creates heap organized tables only.(heap-organized table: A table in which the data rows are stored in no particular order on disk. By default, CREATE TABLE creates a heap-organized table.) (Glossary)
    So I can say a block can contain rows from multiple tables. Isn't it?
    CSM
    See Logical Storage Structures
    Given:  A segment is a set of extents allocated for a specific database object, such as a table.
    Given:  An extent is a set of logically contiguous data blocks

  • Can't get field labels to display above for multiple fields in one cell

    I've tried searching for how to fix this to no avail. I'm new to Apex and I'm trying to get 5 fields on one line with labels above each: salutation, first name, middle initial, last name and title. I've set New Line and New Field to No for all but the first item. With the labels for each field set to Right, everything displays on one line. With the labels set to Above, fields are displayed on separate lines and I'm not sure why. There are other fields on the form as well but they are each on their own line. Any help would be greatly appreciated. My Apex version is 4.1.1.00.23. I'm running the standalone Apex Listener (current version from 7/12) with a 10g database.
    Thanks

    Hi,
    have you tried to set New Field to Yes? If that doesn't work, a test case on apex.oracle.com would be great. That's the easiest way to show you how it works.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • How do I store oracle forms and reports in the database

    Hi !!
    Is there a way I can store the forms and reports runtime in the
    oracle database ??
    We are working on forms 5.0, reports 3.0
    oracle 8.0.5.0.0 on HP-Unix
    Can someone guide me step by step from storing the forms to
    accessing it back on the desktop.
    Thanks in advance,
    Shobhit Kumar
    null

    You need SMB compatible names.. for both TC and if you use wireless then wireless.. short, no spaces, pure alphanumeric.
    Go to the disk file sharing page.. turn on guest account.. read and write access.
    Give it the right workgroup .. usually WORKGROUP
    Load bonjour for windows onto the windows machine.. that should be included with the airport utility for windows.

  • Oracle BI and Progress 9.1e database

    Can any of Oracle's BI products use a Progress9.1e database as a source?

    Kindly Check in the below matrix as per your Exa-Lytics version.
    http://www.oracle.com/technetwork/middleware/bi/oracle-exalytics-1x-1875875.xls
    Regards,
    Selvam.M

  • Long Running SQL and ORDS Spawns Multiple Database Sessions

    Hi all.
    We have a strange situation when accessing a long running SQL Report (a single APEX Page).
    The SQL takes about 15 mins to run but when I monitor what database sessions are spawned by the APEX Listener, I see multiple sessions all executing the same SQL. It appears that after 6 minutes, the APEX Listener spawns a new database session to execute the same SQL.
    Has anyone seen this before and if so, is there a key setting I am missing as I don't want this to happen. I am new to the APEX Listener and WebLogic so apologies if this is the way it's meant to work but it seems odd that after a certain amount of time (6 minutes in my case) a new database session is spawned to do the same work.
    We are running:
    WebLogic: 10.3.0.6
    APEX_LISTENER_VERSION 2.0.0.354.17.06
    Datadate: 11.2.0.3.0 Production
    APEX: 4.2.1.00.08
    Cheers for any help.
    Duncs

    Hi Duncan,
    With all respect, you should please rethink your interface.  I would never consider writing a Web application with a request that knowingly takes 15 minutes to return the results.  You can consider doing this asynchronously via DBMS_SCHEDULER and then alerting the user (via email, perhaps) that their results are ready.  Or if you can precompute this in advance, consider using materialized views so that the user's response time is sub-second.
    In an era where the patience of the average end-user is measured in single-digit seconds, it is impractical to ever expect an end-user to wait 15 minutes for their resultant Web page.
    Joel

  • Can Oracle 7i and 8i be connected from Oracle 9i database

    I want to know if i can do the following. That means is it possible in production scenario. If yes then how and will it affect the performance to a great extend.
    We are now upgrading the application server to weblogic 10.3 . But this server supports only Oracle 9i and above. But we have two more data server which are Oracle 8i and Oracle 7i. These databases will be upgraded later on but not now. So the problem is i can not connect to these Oracle database versions if i use Weblogic 10.3. So i wanted to know if there is any possibility of connecting the application server to a intermideate Oracle 9i database which will act as a bridge from Application server to Oracle 7i and 8i. Can Oracle 9i connect to Oracle 7i and 8i. If yes then how. You can provide me online references if any.
    Thanks in advance. Waiting for your reply.

    manoj.tcs wrote:
    The connection what you are refering is from a normal pc to Oracle 7i or 8i database. But i want to connect from Oracle 9i to Oracle 8iWhen connecting from one db to another (via a db_link) the 'calling' db is just another client to the 'called' db. if you can connect to 7.x (there was no 7i) with a 9.x sqlplus, then you should be able to connect with a 9.x database. At a previous job, we did something similar to get an app compiled against 8.1 to use a 10.2 database - set up a 9.2 intermediary that had nothing but db_links and synonyms pointing on to the 10g.
    However, I wouldn't bet the company on making your scenario work. You really should upgrade your databases first.

  • Where can I download Oracle forms and Reports

    Dear All,
    I want to study Oracle Forms and Reports. Please get me some document about it and also let me know that where can I download the oracle forms and reports.
    Thanks in advance for your reply.

    Hello,
    If you are able to find the Forum place, you can also find the Middleware product page.
    http://www.oracle.com/technology/products/ids/index.html
    Francois

  • Oracle 8i and Images

    Hi
    I am using Oracle 8i and Oas 4.0.7. I wanted to load gif/jpeg files into Oracle Database and then I wanted to display it in the HTML page ? Is it possible to do like this in Orcale ? If anybody tried this, please advice me
    null

    Hi,
    This may reach you late. but if you havent yet solved your problem...
    Oracle provides a utility called Oracle Intermedia which is downloadable from the Oracle site.
    This utility can be used with Oracle 8i and comes with a clipboard utility. You will be able to store and retrieve images, audio and video from the database using this.
    Ciao,
    null

Maybe you are looking for

  • User session  connected to forms  freq get inactive in oracle

    Hi we are having oracle 10.2.0.3 on aix 5.3 RAC environment. we are having monitor database scripts to check how the session and how many long running sessions are there like this? but on last few days we found that suddenly out of two nodes one node

  • Displaying Web Service XML Return

    Hi, I'm looking for some help with web services. I have created a web service based on a PL/SQL package (using JDeveloper wizards) and deployed this successfully to Oracle 10g App server. I can execute the webservice through a java client and get eac

  • Apply policy to large files

    Hello everyone, i´m using LC Rightsmanagement to apply policies to pdf documents. It works fine but applying a policy to a 120 MB file takes more than four minutes. Here is some example code >Properties connectionProps = new Properties(); >connection

  • OSS note 1135038 not available on SAP service marketplace

    Hi, I am unable to get OSS note 1135038 from SAP service marketplace. When I try to open it I get the message 'The requested SAP Note is either in reworking or is released internally only'. Can somebody help? Regards Rajaram

  • Missing pin from the VGA connector of a 17" CRT monitor that came with G4?

    Hi, everyone. Regarding the 17" CRT monitor that came with the G4 "Sawtooth", should the VGA connector that plugs into the video card be missing a pin? On the connector of my monitor, there are 5 pins on the top row, 4 pins (instead of 5) on the midd