Connection between 2 databases without Dblink

I work as analyst and have acess to multiple databases on different servers but cannot create the dblink to create queries between them. I am hoping that I can using another process to link between them using SQL without using a dblink. I am able to use a another software(Access) to make this connection, but the process is very slow and cumbersome.
I am signed into both databases at the time, but I do not see the ability to make the connection using sql without using the dblink except using Access.
What I want to be able to do is to make sure that I have the same transactions in both databases.
Thanks for you help.

Thanks for your input. Our office has not installed Oracle Application Server and create table as select I will look into it, but it seems I need a dblink to move the table from one server to the next. I cannot do the the materialized view yet, since it has not been approved as of yet by the data warehouse managment; and if I am not mistaken it requires the dblink to make it work.
I am currently using MS Access join the two tables without loading the files, but since some of the process is taking place on my machine and not on the server, it does take a lot more time to process. I will need to just take smaller portions of data to run the variance checks.
Thanks for all you imput. Great forumn.

Similar Messages

  • Direct connection between 2 clients without any configuration!

    I wan to make a system act like hamachi or logmein (websever & clients).
    I have a webserver on the internet and two client from different networks connected to this webserver, now i want to make directly connection between these clients without any configuration on router. I think it is possible because all infomation about clients network could be got from http request which they send to server. But i don't know what exact fields in the header of http request that i need and how to set them to create connection between clients. I need some ideas about this issue.
    Edited by: tulous on Nov 20, 2008 7:40 PM
    Edited by: tulous on Nov 20, 2008 7:41 PM

    tulous wrote:
    I know, so if you want to use a remote control tool such as: VNC, remote desktop you must config on router or server. But even if you had a proxy(permit port 80) when you type www.sun.com you will get data from it, this data was sent from Sun to your proxy and in some way the data was return to your browser. So i think if we have enough information(it come from the webserver) we could init a connection between 2 client. An example of this is Hamachi.
    At first 2 hamachi clients connect to a server of hamachi, when they have their id, a tunnel between 2 clients was established without any configuration on proxy(certainly that server did not deny port of hamachi). From now 2 clients can exchange data not through the server. The same in logmein, you can remote desktop any where with zero configuration, but the speed is guarantee because they contact to server for query information, but the data was transmited directly. Sorry if i make mistake.It doesn't work the way you think.
    There is a proxy or you have to have one side listening with a ServerSocket and have ports opened as needed. You can't create a Socket connection on server A between clients B and C and then pass it off to clients B and C and magically they just talk to each other.
    It does not work that way. It is impossible to do it that way.

  • Connectivity between Oracle database and client...

    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.

    user11000521 wrote:
    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there.

  • Unable to connect to local database ( without using tnsname )

    hi guys
    i have 2 database running on local machine.
    db1 SID - orcl (install 1st)
    db2 SID - unicode (install later)
    Today i shutdown unicode database and stop its respective services.
    on dos
    i done a sqlplus scott/tiger, i got an error
    ORA-12560: TNS:protocol adapter error
    therefore
    i done a
    set ORACLE_SID=orcl
    and i still get the same error.
    Therefore i done the another way round. I shutdown orcl database, stop its services and STARTED unicode database and its services.
    I have remove the ORACLE_SID enviroment variable.
    Now, i issue in command prompt
    sqlplus scott/tiger
    i am connected to the unicode database!
    Now i shutdown unicode database and startup ORCL database..
    and i issue a
    sqlplus scott/tiger@ORCL..
    I HAVE No problem connecting to it..
    May i know why do i have to provide the TNSname for ORCL database and i do not have to for the UNICODE database..
    Both are local on my database.
    what is wrong ?
    by the way, i am on XP.
    thanks!

    hi paul,
    sorry for the late reply.
    I was out of town this weekend.
    thank you so much for replying..
    Here is my test results.
    inside command prompt
    (started both services - OracleServiceOrcl and OracleServiceUnicode)
    set ORACLE_SID=orcl
    sqlplus / as sysdba;
    sys@orcl> exit
    set ORACLE_SID=unicode
    sqlplus / as sysdba;
    sys@unicode> exit
    Well, if i explicity set the ORACLE_SID, it works..
    So out of curiousity, i done this testing..
    1) connect to both database and shut them down
    2) stop their services
    3) start only ORCL service
    4) close and reopen command prompt to remove the ORACLE_SID enviroment var
    sqlplus / as sysdba;
    Error: ORA-12560: TNS: protocol adapter error
    ok..
    5)now i stop the ORCL service
    6) and i start the UNICODE service
    then i issue
    sqlplus / as sysdba;
    sys@unicode>
    I have got no local or two_Task variable set, i have got no oracle_sid, nor oracle_home environment variable set.
    Any idea paul ?
    Hope to hear your advice.
    Best Regards,
    Noob

  • How to connect java with database without any dsn.

    is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.

    Sure use a type 4 driver. No DSN.

  • Connecting to remote database without using db links

    Referred Thread:
    Re: Remote DB connection without DB link
    In reference to the thread above, my question goes like this:
    Let's say I want to run a query from a database and use data from another database. I have the user, password, SID and port number of the other database but do not want to create a separate connection using sqlplus or connect commands.
    Something like this:
    SQL> show user
    USER is "A"
    SQL> select a.col1, b.col2 from tab1 a, tab2@????? where <some condition>;
    Can this connection be done on the fly ?? I agree that a DB link will do the trick, but let's say I am not supposed to create objects on the other database.

    You need two sets of privs on the remote database to view data in that database schema:
    - create session (the schema must allow client connections to create schema sessions)
    - select on other schema tables whose contents to view
    You need a single priv on the local database, to connect to that remote schema on the other database:
    - create database link
    You also need the following in order to create the db link:
    - the remote schema name and password
    - IP address or hostname of the remote db server
    - the remote Listener's tcp endpoint port
    - the name of the remote database (SID, instance or service name)
    If you do not have these privs, you cannot use/access the remote database from the local database session via a database link.
    Other alternative methods needs additional privileges and objects on both the remote and local database sides - and are more complex (e.g. using web services, using web-enabled procedures, etc).

  • Connection Between Two Databases

    Hi,
    I have two databases called DBS1 and DBS2. Both are in one system. I need link between these two databases. I want a query as follows.
    select * from cust@DBS2; # from DBS1
    select * from temp_cust@DBS1; # from DBS2
    Is possible link between DBS1 and DBS2.
    Can any one tell me how to link these two databases each other.
    Best Regards,
    Nilopher.
    null

    Nilopher,
    You can connect to two different Oracle databases by creating a database link. When you say that both databases are in one system I assume you mean two databases on the same server. To create a database link you can do the following:
    While logged onto DBS1:
    create database link dbs2
    connect to username identified by password
    using 'dbs2.world'
    Username and password are the user and password you want to connect as in dbs2.
    If you want everyone to be able to access the database link you can say create public database link... otherwise only the user that created the database link can use it.
    This should work assuming the database server tnsnames.ora file looks like this:
    dbs2.world =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= hostname)(Port= 1521))
    (CONNECT_DATA = (SERVICE_NAME = dbs2))
    If your databases are on two different servers you'd have to look at each one's tnsnames.ora file and make sure each one had an entry for the other's database.
    I believe the database link name must be the same as the SERVICE_NAME if the parameter GLOBAL_NAMES=TRUE, if it's FALSE you can name it something else. By default this parameter is set to TRUE so I called the database link in the example dbs2.
    You can then access data from dbs2 while logged into dbs1 exactly how you said:
    select * from cust@DBS2;
    You can then repeat the process to do the same thing on dbs2 to connect to dbs1.
    Hope this helps.

  • How to compare two databases, without dblink?

    Hi all,
    I need to compare two differents databases, but I can't create a database link, and for make this task worse, I need to do this using a shell script, because it will run directly in the server.
    Anybody can help me?
    Tx,
    Everson
    null

    Hi Justin,
    I made the script, and it was working pretty well, but when I was running in the production environment, I get the information that I need to connect with one user and get the ddl to another user, ok, I change the script but now I'm receving the error ORA-31603.
    SQL> show user
    User is "tstsge3"
    SQL> select dbms_metadata.get_ddl('TABLE','INTBD_INS_ACIONAMENTO','TSTINTBD3') ddl from dual;
    select dbms_metadata.get_ddl('TABLE','INTBD_INS_ACIONAMENTO','TSTINTBD3') ddl from dual
    ORA-31603: object "INTBD_INS_ACIONAMENTO" of type TABLE not found in schema "TSTINTBD3"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2805
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    SQL> select table_name from all_tables where owner = 'TSTINTBD3' and table_name = 'INTBD_INS_ACIONAMENTO';
    TABLE_NAME
    INTBD_INS_ACIONAMENTO
    SQL>
    I took a look on the internet and metalink, and saw some notes about grant SELECT_CATALOG_ROLE to the connect user, but I can't do this in my customer.
    Is ther another solution?
    Tx,
    Everson

  • Connecting between two database of various version

    Hi,
    we are using apex 3.0.1 and 3.2.1 which has 9i and 10g database .
    We have different application in different servers.
    Now i want access a table in apex version 3.2.1 from apex version 3.0.1 via a trigger.
    what are the process i have to perform to connect the database
    Thanks & Regards,
    Gomathi

    >
    via a trigger
    >
    Sounds like a very bad idea - what exactly are you trying to achieve?
    Either way, you need to look up database links. Here's the docs for 10g...
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm
    Cheers
    Ben

  • Can you setup Advanced queueing between 2 databases using SQL*net connection

    Hi experts,
    Is it possible to setup AD between 2 databases without using DBlink? I know we can use Java program to do that. Unfortunately, I have no experience in Java.
    Our version databases is 10g
    Thanks in advance
    Hieu

    Following are the different options available.
    Interfaces to Advanced Queuing
    You can access Advanced Queuing functionality through the following interfaces:
    PL/SQL using DBMS_AQ, DBMS_AQADM,andDBMS_AQELM. Refer to the Oracle9i Supplied PL/SQL Packages and Types Reference.
    Visual Basic using Oracle Objects for OLE. Refer to the Online Help for Oracle Objects for OLE.
    Java using the oracle.AQ Java package. Refer to the Oracle9i Supplied Java Packages Reference.
    Java Message Service (JMS) using the oracle.jms Java package. Refer to the Oracle9i Supplied Java Packages Reference.
    Internet access using HTTP, HTTPS, and SMTP
    For java references you can refer to below URL
    http://docs.oracle.com/cd/B10500_01/appdev.920/a96609/arj_aq.htm#1005399
    I believe no one will provide you fully written code here. You can get help from this forum,

  • URGENT!!!!!!!! Tomcat 5.0 does not connect to the database !!!!!!

    We had an already existing system on tomcat 4.1.18. Since migrating to Tomcat 5.0, we are facing lots of problem while trying to connect to the database. The database in SQL Server 2000.
    The first time i try to connect (after restarting tomcat service) the system is able to connect to the database but after sometime it again stops connecting.
    The beans on our system are able to connect to the database without any problem but when we try using the same via http, it doesnt connect. The classpath is set properly. Also the database drivers are also the latest ones and in the proper place. We have placed them in the common/lib folder. We have checked that normal jsp pages which are not connecting to the database are working fine.
    Please HELP!!!!!!!!!!!
    Thanks in advance

    well.....Tomcat is not a database connecting engines.....U would need to check your db connection codes to check if you have missed anything.....so the first question will be
    1. How do u connect to the DB
    2. Which type of JDBC drivers are u using.
    Finaly, tomcat is not at fault...its the fault of you configuration
    Cheers,
    Manjun ath

  • Connect to the database straight from the direct access of form builder

    What do i have to put in the direct access of form builder and procedure builder to connect to the database without have to do it once i4ve enter into form or procedure builder, I know i have to put user/password and connect string but in which order or which characters do i have to use.
    Thanks in advance.

    thanks jdendas, that works with forms but not with procedure builder, if i put that it does not start the session with the procedure builder.
    Thanks anyway-

  • Solution for connection between BODS and WCF web service ?

    Hi,
    we have a unique requirement of connecting BODS to WCF webservice. This web service acts as a layer for connection between proprietary databases (secured) and other external systems. Queries are to be sent to this web service in order to fetch data from proprietary databases.
    In order to connect to these web services, we should also provide Address, Binding and contract whose details are already present with us.
    Example of web service address:     net.tcp://op12345:10101/sd
    I heard Adapters are the best way of connecting to the above web service, could you please provide some guidance on connecting through adapters if it is the best solution.
    Could someone suggest the best possible approach(ASAP) to bring connection between BODS and web services and to execute the above requirement.
    Please let me know in case of any more information.
    Regards
    Surya

    Hello Nir,
    I tried to import the my VS2008 + .net 3.5 as Wsdl local file to the Xcelsius 2008 but there is message unable to load url.
    I tried to import your Wsdl developed by .net:
    http://www.webservicex.net/airport.asmx?WSDL
    and it works ok.
    Can you send me or print here the service class definition and the configuration file for  http://www.webservicex.net/airport.asmx?WSDL?
    Thanks in advance,
    Sergey Osmachkin

  • Tracing queries from abap to a custom database via dblink

    I' m connecting to a database by dblink (name magiap).
    I would like to know if somewhere I can trace all the queries from abap to oracle in this specific session , to dbs ='MAGIAP'.
    For istance, i would like that the query "SELECT "DESPARTY1"
    into :v_DESPARTY1
    FROM "T040PARTY"
    WHERE "CODPARTY" = '305142941' will be stored some where (in a file??).
    I would like that parameters - w_CODPARTY- will be substituted and stored in the trace file with the value (305142941), as shown in the previous
    Here is the piece of code ..(a very short example of course)..
    DATA : dbs LIKE dbcon-con_name,
    v_CODPARTY(15),
    v_DESPARTY1(60).
    data : w_CODPARTY(15) value '305142941'.
    dbs = 'MAGIAP'.
    TRY.
    EXEC SQL.
    CONNECT TO :dbs
    ENDEXEC.
    IF sy-subrc <> 0.
    EXEC SQL.
    CONNECT TO :dbs
    ENDEXEC.
    ENDIF.
    IF sy-subrc <> 0.
    * RAISE err_conn_aea.
    ENDIF.
    EXEC SQL.
    set connection :dbs
    ENDEXEC.
    EXEC SQL .
    SELECT "DESPARTY1"
    into :v_DESPARTY1
    FROM "T040PARTY"
    WHERE "CODPARTY" = :w_CODPARTY
    ENDEXEC.
    IF sy-subrc NE 0.
    * rc = 4.
    ENDIF.
    EXEC SQL.
    DISCONNECT :dbs
    ENDEXEC.
    ENDTRY.

    Hi Silvana,
    The SQL statements have been stored in the SQL Cursor Cache, on the database and they will be available until they have been invalidated. You can access the statements at the 'MAGIAP' side and see the last executed queries in the cache.
    You can access bind variables by query on the V$SQL_BIND_CAPTURE table, also.
    On the other hand, you can activate the trace by the statement, below;
    ALTER SYSTEM SET sql_trace = true SCOPE=MEMORY;
    Then, the sql statements will be available in the usertrace file. Please note that you should execute and investigate all the statements that I noted above, at the remote side. Plus, as far as I know that it is not able to distinguish the records by the "dblink name". You should check all the statements and try to figure out what queries have been executed remotely.
    Best regards,
    Orkun Gedik

  • Trace queries from abap to a custom oracle database via dblink

    I' m
    connecting to a database by dblink (name magiap).
    I
    would like to know if somewhere I can trace all the queries from abap to oracle
    in this specific session , to dbs ='MAGIAP'.
    For istance, i would like that the query
    "SELECT "DESPARTY1"
    into :v_DESPARTY1
    FROM "T040PARTY"
    WHERE "CODPARTY" = '305142941' will
    be stored some where (in a file??).
    I would like that parameters - w_CODPARTY- will be substituted and stored in the trace
    file with the value (305142941), as shown in the previous
    Here
    is the piece of code ..(a very short example of course)..
    DATA : dbs LIKE dbcon-con_name,
    v_CODPARTY(15),
    v_DESPARTY1(60).
    data : w_CODPARTY(15) value '305142941'.
    dbs = 'MAGIAP'.
    TRY.
    EXEC SQL.
    CONNECT TO :dbs
    ENDEXEC.
    IF sy-subrc <> 0.
    EXEC SQL.
    CONNECT TO :dbs
    ENDEXEC.
    ENDIF.
    IF sy-subrc <> 0.
    * RAISE err_conn_aea.
    ENDIF.
    EXEC SQL.
    set connection :dbs
    ENDEXEC.
    EXEC SQL .
    SELECT "DESPARTY1"
    into :v_DESPARTY1
    FROM "T040PARTY"
    WHERE "CODPARTY" =
    :w_CODPARTY
    ENDEXEC.
    IF sy-subrc NE 0.
    * rc = 4.
    ENDIF.
    EXEC SQL.
    DISCONNECT :dbs
    ENDEXEC.
    ENDTRY.

    Hi Silvana,
    The SQL statements have been stored in the SQL Cursor Cache, on the database and they will be available until they have been invalidated. You can access the statements at the 'MAGIAP' side and see the last executed queries in the cache.
    You can access bind variables by query on the V$SQL_BIND_CAPTURE table, also.
    On the other hand, you can activate the trace by the statement, below;
    ALTER SYSTEM SET sql_trace = true SCOPE=MEMORY;
    Then, the sql statements will be available in the usertrace file. Please note that you should execute and investigate all the statements that I noted above, at the remote side. Plus, as far as I know that it is not able to distinguish the records by the "dblink name". You should check all the statements and try to figure out what queries have been executed remotely.
    Best regards,
    Orkun Gedik

Maybe you are looking for