Linking 2 database in toad

Hi Pals,
How to link database 1 to database 2 in toad.
Thanks in advance

user633962 wrote:
Hi Pals,
How to link database 1 to database 2 in toad.
Thanks in advanceAs it's mentioned above, you have to create a database link to link two databases. Please read the documentation:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_admin.htm#i1007820
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

Similar Messages

  • Connecting to vmware database using TOAD on windows7(client machine) issue?

    hi
    10gR2 installed on OEL4.2(VMWARE) on windows7 HOST. Please let me know how to connect to database installed oel4.2(vmware) on windows7 using the TOAD. as i downloaded the oracle10g client about 35MB and unzipped. it got all class files and then moved this to C:\ folder on windows machine and set the environment variables to the include the path of oracle client and also created the tnsnames.ora in instantclient folder.
    i can able to ping to vmware machine from windows and viceversa and listener and tnsnames are running at the database side. When i am trying to connect to database using TOAD or pl/sql developer its giving error.
    pl/sql developer error:
    Oracle client nor properly installed
    OracleHomekey:
    Oracledir:
    TOAD Error:
    cannot find OCI.dll
    in the instantclient folder i have OCI.dll but still giving the error
    Please give some suggestions or links to solve this error..
    regards!!
    vams
    oracle apps dba

    804369 wrote:
    hi
    10gR2 installed on OEL4.2(VMWARE) on windows7 HOST. Please let me know how to connect to database installed oel4.2(vmware) on windows7 using the TOAD. as i downloaded the oracle10g client about 35MB and unzipped. it got all class files and then moved this to C:\ folder on windows machine and set the environment variables to the include the path of oracle client and also created the tnsnames.ora in instantclient folder.
    i can able to ping to vmware machine from windows and viceversa and listener and tnsnames are running at the database side. When i am trying to connect to database using TOAD or pl/sql developer its giving error.
    pl/sql developer error:
    Oracle client nor properly installed
    OracleHomekey:
    Oracledir:
    TOAD Error:
    cannot find OCI.dllgo post TOAD problem in TOAD forum; not here

  • How to connect Oracle database using TOAD Database toll

    Hello ALL,
    I have installed oracle 9i and TOAD in my machine.
    I want to connect oracle9i using TOAD database toll.
    How can i able to connect Oracle9i using TOAD database toll?What is the code i will change in tnsnames.ora so that i am able to connect scott/tiger database using TOAD?
    tnsnames.ora*
    SUMANTA.IN002.SIEMENS.NET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BLRD025AL1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sumanta)
    Please suggest.
    Thanks for your time.
    Regards,
    Sumanta

    user2367151 wrote:
    Hello ALL,
    I have installed oracle 9i and TOAD in my machine.
    I want to connect oracle9i using TOAD database toll.
    How can i able to connect Oracle9i using TOAD database toll?What is the code i will change in tnsnames.ora so that i am able to connect scott/tiger database using TOAD?
    tnsnames.ora*
    SUMANTA.IN002.SIEMENS.NET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BLRD025AL1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sumanta)
    Please suggest.
    Thanks for your time.
    Regards,
    SumantaIf you have a listener on host BLRD025AL1, and that listener knows about a service named 'sumanta', then you don't need to do anything to your tnsnames.ora to use it with Toad -- or any other client tool. You just have to provide the correct connect string.
    What have you actually tried?
    What result did you get?
    Any oracle errors (ora-nnnnn or tns-nnnnn)?

  • Remote connection to a database using TOAD, but without Oracle db on PC

    I want to connect to a remote database using TOAD from my PC but without having to install Oracle database on my PC.
    Is it possible?
    If yes, where do I enter the database IP address & port number?
    I am using TOAD Freeware version 8.5.0.50g
    (I want to achieve the exact thing with TOAD as it can be done with "OraCmd" program.)

    How did you create your tns entry? Manually or via netca?
    If netca is not used, I would recommend to delete the old tns entry from tnsnames.ora file manually and add the same entry back via netca utility.
    PartA.
    1) Make sure listener is up (for example on the server 192.168.0.33 you are trying to connect) before you start netca. Most probably it is on 1521 port unless you changed it.
    Assuming your server on *NIX:
    $ ps -ef |grep lsnr
    the above command will give you all the listeners which are up and running.
    If listener is not up, bring it up.
    $ lsnrctl start listener
    the above command will start listener called "LISTENER" on default port 1521. Ignore this if the listener is already up.
    PartB
    Assuming your client machine is on Windows,
    1) start --> run --> cmd --> netca
    2) You will see "Oracle Net Configuaration Assistant: Welcome" window. --> next
    3) Pick the 3rd radio button "Local Net Service Name Configuartion" --> next
    4) Pick the "ADD" button. --> next
    5) Provide the service name. (It is usually database name). Assuming my database name is FCMAT, I will give FCMAT --> next
    6) Pick "TCP" --> next
    6) Instead of the hostname, add the ip address of the host (for example 192.168.0.33 and
    "Use the standard port of 1521"--> next
    7) "Yes, perform a test" (this is why you have to have the listener up to test it) -->next
    8) It will fail as it doesn't have any password. Click on "Change Login" and provide the SYSTEM password and click "OK". If listener is up on the server and password is right and there are no connectivity issues going on, test will SUCCEED. --> next
    9) Here you will provide Net Service Name. You can give whatever you like to give here but usually giving instance name will help. AGain, I will give FCMAT. -->
    10) Click "NO" to configure another net service name. --> next
    11) click "Finish"
    The above steps will create a tnsnames.ora entry similar to this.
    FCMAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.33)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = fcmat)
    Part3
    1) start your sqlplus utility
    2) provide username system
    3) provide password
    4) provide FCMAT in host string.
    and you should be able to connect via sqlplus and TOAD.
    If you are still getting the error, please provide us the exact error.
    --Moid M
    P.S. tnsnames.ora / listener.ora / sqlnet.ora can be found $ORACLE_HOME/network/admin directory.

  • Database link create but not fatch data from link database give me this err

    Sir I create database link with this command system create link
    but when I user query then system give me this error you see in blow
    SQL> create database link xyz connect to mfatest identified by mfa786 using 'aamir';
    Database link created.
    SQL> select * from accbal@xyz;
    select * from accbal@xyz
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-02068: following severe error from XYZ
    ORA-03113: end-of-file on communication channel
    this is same database but diffrent user
    scott user
    mfatest user
    please give me idea how i fatch data from link database/link other user
    thank
    aamir

    On the machine where you get that error does this work ?
    SQL> connect mfatest/mfa786@aamir
    SQL> select count(*) from accbal;
    If it doesn't, please post tnsnames.ora and sqlnet.ora from local machine, and the result, on remote machine, of
    C:\> lsnrctl services

  • Using the Service Link Database adapter

    I had a question regarding the use of the Service Link database adapter.  We've configured an adapter that will write rows to a certain table in an oracle database.  The rows are written into the table correctly.  I've also configure the inbound portion of the database adapter to retrieve records but there are 2 problems.
    1.  When creating the SQL that is used to poll the database table, I'm not able to use the channel id namespace.  According to the manuals and training materials that I have reviewed, it looks like you should be able to call #channelid# in your query and the system should automatically translate that.  I've tried #channelid#, #channel-id#, and #ChannelID# but if doesn't seem to covert the value to the actual channel ID.  Can you use namespaces in the polling query?
    2.  If I setup the queries without namespaces, I can get into the next step where it excutes the sucessful or failed sql query.  I setup a simple transformation that automatically closes the assocaited task when the query is run.  I then setup a SQL statement to delete all rows in the table (I only did this because I could not target a row without the channelid namepsace working).  The problem is that when I submit a task that uses the agent, the agent polls the database and finds the task.  The agent then closes the asscaited task, per my transformation, but when it goes to delete all rows in the table, the rows are not removed.  If I execute the same SQL using the same account in a SQLPlus window, the rows are deleted so I think that my SQL is good.  I'm not sure why it does not work and the only message in the log is:
    2010-07-08 15:52:23,677 DEBUG [com.newscale.is.adapter.db] [ AgentId-5 ]  Fetched 1 new records
    2010-07-08 15:52:23,804 ERROR [com.newscale.is.adapter.db] Outbound Message Failed to deliever
    This is my SQL:  delete from rcowner.rcapprovals where STATUS_code='Registered'
    Any help or advice is apprecaited.
    Tim

    Hi Tim -
    The namespace that you can use comes from the SELECT SQL statement.  So you need to write out the Channel ID into a field in the db table (you need it around anyway for the transformation).  Then the inbound SQL needs to include the channel ID field in the select statement.  Then the success/failure SQL statements can reference the channel ID field from the inbound SQL.
    Inbound example: SELECT CHANNEL_ID FROM MYTABLE WHERE STATUS = 2
    success example: UPDATE MYTABLE SET STATUS=3 WHERE CHANNEL_ID=#channel_id#
    (Note that it seems to convert field names to all lower case.  And the #channel_id# is just referencing the field from the other query -- it isn't a namespace or anything.)
    Your delete statement probably isn't working because the db connection is still using the records from the inbound query.  Its looping through each record from the inbound query and performing the transformation, then running the success/failrue sql before going onto the next record.

  • How to connect to database through TOAD(using tnsnames & sqlnet)

    Hi All,
    Hope everyone doing fine.. Actually i am new to oracle. Oracle9i and TOAD 9.7.0.51 are installed in my office PC. When I try to connect to the database through TOAD i am getting ORA-12560: TNS:protocol adapter error.
    And i've the tnsname details.
    Now i want to connect to the database.But i am not aware of the process about what to do. So Can anyone please help me on the above problem.
    Please give the steps to follow(one by one)
    Thanks,
    mkr

    Oracle9i and TOAD 9.7.0.51 are installed in my office PC.sqlplus> connect / as sysdba
    connected.
    Check your $ORACLE_HOME/network/admin/tnsnames.ora
    If it does not exist create as an example.
    example
    DBX =
    (DESCRIPTION =
    (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = <host or ip>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME =<sid_name>)
    set ORACLE_SID=SID
    tnsping DBX
    try to connect by toad after that it should work...

  • Collaboration linked database alias is incorrect...

    but it is not.
    Anyone run into this? My log shows this, note the failed message and subsequent connection is working lines.:
    2010-01-04 10:08:58,845 INFO - Finished Loading Databases
    2010-01-04 10:08:58,860 INFO - Setting Transaction Isolation Level
    2010-01-04 10:08:58,860 INFO - Isolation level is read uncommitted
    2010-01-04 10:08:58,860 INFO - Finished Setting Transaction Isolation Level
    2010-01-04 10:08:58,860 INFO - Testing Database Connections
    2010-01-04 10:08:58,891 INFO - JDBC Driver Version:SQLServer 3.40.6 (012712.007203.008710)
    2010-01-04 10:08:58,891 INFO - Connected to database:collaboration
    2010-01-04 10:08:58,954 INFO - plumdbname.plumdbusername. linked database alias failed failed retrying linked database alias
    2010-01-04 10:08:58,970 INFO - Adding plumdbname.. as linked datbase alias
    2010-01-04 10:08:58,970 INFO - Connection to linked database is working
    2010-01-04 10:08:58,970 INFO - Finished Testing Database Connections
    2010-01-04 10:08:58,970 ERROR - Linked Database Alias is incorrect check database.xml
    2010-01-04 10:08:58,970 ERROR - Collaboration Server failed to start.

    This might be a role grant problem. Is the databasename.dbo set correctly for the collab product?
    If you can repro in a test environment...you could also try these steps below to see if they help. Technical support has also had some experience working on this problem, so you can consider opening a case with them.
    Ryan
    1/ Grant the portal database user Read access to the tables in the Collaboration database by executing the following script against the collaboration database using the collaboration database user:
    install_dir\ptcollab\<version>\sql\<dbtype>\collaboration-server-portal-role-grant.sql script.
    2/ Examine the collaboration views in the Portal database, and verify the table owner. To accomplish this, expand portal database, views, and then look for the <username> in the views:
    <USERNAME>.CSVPORTALGATEWAYDATA
    <USERNAME>.CSVPREFERENCE
    <USERNAME>.CSROLEMEMBERSHIP
    If it is something other than the portal database user (for example DBO instead of the portal db user), then follow these steps:
    * Open the following script: install_dir\ptcollab\<version>\sql\<dbtype>\portal-collaboration-server-data.sql script
    * Search for "collabdbuser" and change this to the user that owns the above views (ie. change to dbo).
    * Run this script against your portal database using the portal database user.
    3/ Run the following script against the portal database using the portal database user:
    install_dir\ptcollab\<version>\sql\<dbtype>\portal-server-portal-role-grant.sql script.
    Note: Some of the above scripts may fail to run with a message that the data already exists. This is okay.

  • When connect the Database from Toad , Sqlplus giving the error

    when connect the Database from Toad , Sqlplus giving the error
    recent changes 12.1.1 installatiojn
    Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
    Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
    Thanks & Regards,
    sree

    when connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
    Hope this helps.

  • Not able to connect to database using toad

    we have a 11.1.0.7 database on solaris machine.
    when the development team tries to connect to it using toad, it gives them ORA-01017: invalid username/password error.
    We are using TNS entries to connect. From the same client machine, we are able to connect using SQLPLUS and SQL Developer using the same TNS entry. However, its not working on TOAD.
    Toad Version is 9.0.1. Any help is much appreciated.
    Thanks.

    Hi Muneer,
    My answer is arriving to this forum late, but I'll tell you what is happening to benefit others who have this issue. Older versions of Toad convert the case of the password to upper case when they attempt to authenticate to Oracle. Versions of Oracle prior to 11G had case insensitive passwords so it did not matter. But when 11G came out with it's case sensitive passwords, Toad could no longer authenticate. You can test this yourself by modifying the password for your Oracle account (usnig sqlplus) so that the password is completely upper case.....Toad will suddenly be able to authenticate.
    You will find that sqlplus and SQL Developer don't have a problem. That is because they don't convert the password to upper case, they just leave it as it is. I don't know why older versions of Toad convert the password to upper case, but that is what they do. Newer versions of Toad fix the issue. I believe that Toad versions 9.5 and later should work. I've also read, however, that 9.5 had issues with Oracle 11G client libraries so you might just want to upgrade to the latest/greatest version of Toad.

  • Connect to the Database using TOAD

    Hi
    I've installed 11.5.10.2 on and using DB 9.2.0.6.0 on Redhat 4 everything works ok.
    but when i try to connect to TOAD i get this error ORA-12537 TNS:connection closed.
    do i have to do any setup's?
    please help.
    Thanks

    You need to register your host through OAM or disable the SQLNet restriction so that you can connect to the database. Check the following note for more details:
    Note: 291897.1 - 11.5.10 New Features : Managed SQL*Net Access from Hosts
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=291897.1

  • ORA-12514 Error coming whenever trying to connect to database in TOAD

    Hi,
    When i'm logging in database(10g) through TOAD, i'm getting the error as:
    "ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    My listener.ora contains
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    My tnsnames.ora contain:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    The listener status is as follows:
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 05-OCT-2008 06:40:42
    Uptime 0 days 0 hr. 16 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    The database is up and running and I've stopped-started the listener.
    Still the error occurs. Could anyone suggest what can be done.
    Regards,
    Souvik

    The error basically means that the connection service which you are requeting in your connection string is not yet to known to the listener of yours. See here the output of the listener's supported services from your post.
    Listening Endpoints Summary...
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))+
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))+
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    It clearly shows that the listener is only working to listen for the PLSExtproc service which is meant for external procedures.
    Is the database just started? If that's the case than it may take a while to get the PMON register the db with the listener. Or you can issue,
    alter system register from your db's sql prompt which can ask listener for immediately register the db with it. Try this command and post feedback. If that won't work than you may have to manualy register your db with the listener.
    HTH
    Aman....

  • Linking database

    I wish to link my Spatial database to a web page which will be used to search from the database.
    What the best(and easiest) language to use to link the two?
    Does anyone know where I can find some sample scripts to achieve this?

    Simon,
    It really depends on exactly how you intend to use the Oracle Spatial features with your web page. There are a number of possible solutions, can you provide more details of your requirements?

  • Help Needed - Linking databases together

    We are currently developing a new system for a client that uses oracle text to search through a number of columns and uploaded documents (as clobs). We expect that the client will require a high level search that not only goes through columns in this database but a previous database that also includes documents. There is also a chance they might implement oracle drive, therefore documents in here will also be searched through.
    Does anybody have any ideas on what the best solution for this is. I have considered using database links but im unsure if this will be affected by multiple users. Are materialised views an option worth considering.
    Any help regarding this matter will be greatly appreciated.
    Regards
    Kevin Mann

    I really need some help regarding this issue. If anybody has any ideas please post a message.
    Regards
    Kevin Mann

  • Linking database query to datagrid?

    Hi,
    I am trying to to do a query from database and display the
    result to the datagrid. I've heard people is doing it but how does
    it work? Any reference?

    i use java servlets.. the most challenging thing to me when
    starting down this route was figuring out how to dynamically
    configure the grid based on the data. almost every example i came
    across required you to know the columns before receiving the data.
    to create your own columns, you do something like:
    var columNames:Array = [ "id", "name", "address" ];
    var gridCols:Array = [];
    var totalWidth:int = myGrid.width;
    for each( var n:String in columnNames )
    var column = new DataGridColumn();
    column.dataField = n;
    column.width = totalWidth / columnNames.length;
    // set other properties like width, headerText, itemRenderer
    etc
    gridCols.push( column );
    // set the grid columns which forces the redraw
    myGrid.columns = gridCols;
    ./paul

Maybe you are looking for

  • Photoshop CS4:Fatal error

    This pops up when I open my Photoshop CS4: Fatal error - missing component: /Library/Application Support/Adobe/Adobe Version Cue CS4/Client/4.0.0/VersionCue.framework. Any ideas on what i can do? happens when I open a project. Thanks

  • Overload Issue in FSCT

    I'm running FSCT to check users overload in Cent OS. Now after the setup has been changed, no. of user overload has become less. Initially overload used to be around 2200 users and the value has decreased to 800 users. Can anyone suggest, what might

  • Howto define uiXML-create.uix using intersection entities and choicelists

    hi i have 3 tables: - DRIVERS: primary key dbsequence ID, attributes LASTNAME ... - RACES: primary key dbsequence ID, attributes NAME ... - RACEDRIVERS: primary key (DRIVERS_ID, RACES_ID), no attributes using the bc4j-wizards i have created the corre

  • How to run a file ,extention name "sit" on Mac OS X

    Hi guys, I have just downloaded a file x-rite.sit, when I double click the file, the computer showes " please find a suitable program to open it", How to slove this problem> Now, I am using OS X.4 Thanks a lot.

  • Can AIR execute Windows .EXE files?

    Can AIR execute Windows .EXE files?