Public connected user database link creation

Hello, DBA

I tried to create the user database link connected audience.
I have two databases (orcl, orcltest)

Orcltest database, I created dblink

SQL > grant create public database to u1 link;
Grant succeeded.

SQL > conn u1
Enter the password:
Connected.

SQL > create sequoia link of public database using "orcl".
Database link created.


In orcl, I tried to access

SQL > select * from u1.tab1@redwood;
Select * from u1.tab1@redwood
*
ERROR on line 1:
ORA-02019: description of the connection to the remote database not found

QUESTION: what is the error?
Note: tns, earphone works very well. No problems.
Prod: 1 0.2.0.4.0
OS: rhel 5.1

Thanks in adnvance...

Hello

Orcltest database, I created dblink

SQL > grant create public database to u1 link;
Grant succeeded.

SQL > conn u1
Enter the password:
Connected.

SQL > create sequoia link of public database using "orcl".
Database link created.

Here, you create a DBLINK on the ORCLTEST to the ORCL database, sort of source database is ORCLTEST and target is ORCL.

In orcl, I tried to access

SQL > select * from u1.tab1@redwood;
Select * from u1.tab1@redwood
*
ERROR on line 1:
ORA-02019: description of the connection to the remote database not found

It will not work because you created the dblink on the source database, which is ORCLTEST.

DBLINKS give you a way to access resources (tables, indexes, packages, etc.) in a remote database.

What you do is:

1. create a dblink on ORCLTEST. This dblink will provide access to ORCL via the ORCLTEST.

2 instead of this, you you connect directly to ORCL. That won't work, your DBLINK is not here, you can create another one here pointing to the ORCLTEST.

DBLINKS act as a bridge, a connection between two databases. They are only available in the source database to create a link to a database remotely (target).

Tags: Database

Similar Questions

  • ORA-01017: name of user and password invalid. connection refused - Database Link

    Hi guys,.

    Could you help me, I have a problem connecting to a different database using the database link:

    * 1. I have added in the database 'customer' DEV2 tnsnanes.ora *.

    DEV =
    + (DESCRIPTION = +
    + (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) +.
    + (CONNECT_DATA = +
    + (SID = DEVDB) +.
    +)+
    +)+

    * 2. I tested my connection using tnsping *.

    Oracle@dev > tnsping dev

    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 10, 2010 14:35:35

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:
    +/opt/Oracle/product/10.2/Db_1/network/admin/SQLNET.ora+


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    Oracle@dev >

    * 3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry *.

    SQL > conn devuser/pwd001@dev
    Connected.

    * 4. I then create a database of link.*

    SQL > Create Database Link dev_Link
    + 2 Connect devuser +.
    + 3 identified by pwd001 +.
    + 4 using "DEV"; +

    Database link created.

    SQL >

    * 5. When I try to connect to the database using the database link, I get an error, but I'm sure that the password and user name are ok.*

    SQL > select * from global_name@dev_link;
    Select * from global_name@dev_link
    *+
    ERROR on line 1:
    ORA-01017: name of user and password invalid. connection refused
    ORA-02063: preceding the line of DEV_LINK


    SQL >


    What could be wrong...?

    Try to connect to the database via SQLPlus target using the tnsnames.ora entry: sqlplus bob@remote.

    If the target db is 11g, then breaking the password may be the matter. Try placiing the password in quotes when you create the database link.

    HTH - Mark D Powell.

  • SP2-0640: not connected - create database link error Gateway

    While trying to connect through the gateway SQL by using 'Create database link','m ' SP2-0640: not connected "error. Here are the details.

    ====================================================================
    TNSNAMES.ora
    dg4msql =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (Service_name = dg4msql))
    (HS = OK)
    )
    ====================================================================
    LISTENER.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = dg4msql)
    (ORACLE_HOME = C:\product\11.2.0\tg_1)
    (PROGRAM = C:\product\11.2.0\tg_1\bin\dg4msql)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = C:\product\11.2.0\tg_1
    ====================================================================
    SQLNET.ora
    # This file is actually generated by netca. But if customers can opt for
    # install 'Software Only', this file does not exist and without the native
    authentication #, they will not be able to connect to the database on NT.

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    NAMES. DIRECTORY_PATH = (TNSNAMES)

    ====================================================================
    initdg4msql.ora
    HS_FDS_CONNECT_INFO = sqlserverip, port / / PMDB
    HS_FDS_TRACE_LEVEL = OFF
    HS_FDS_RECOVERY_ACCOUNT = RECOVERY
    HS_FDS_RECOVERY_PWD = RECOVERY

    ====================================================================
    lsnrctl start outupt
    The State of the application "dg4msql" UNKNOWN, has 1 handler for this service...
    The command has been executed

    ====================================================================
    tnsping output

    Settings file that is used:
    C: \ Product------11.2.0------tg_1------network-admin------sqlnet.ora

    has been used TNSNAMES adapter to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = dg4msql)) (HS = OK))
    OK (20 ms)

    ====================================================================

    creation of link db output

    SQL * more: Production release 11.2.0.2.0 on Lun Ott 8 12:03:08 2012

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    SQL > CREATE DATABASE LINK dblink PUBLIC CONNECT WITH As IDENTIFIED BY Manager1 USI
    NG 'dg4msql ';
    SP2-0640: not connected.

    most of the foreign bases are case-sensitive and default Oracle moves all uppercase. To keep the name of an object you should always be surrounded by double quotes and make sure tzhat you write the name exactly as it is defined in the foreign database, for example:
    Select 'id' from 'TEST"@ln;

  • A question about the CREATE DATABASE LINK PUBLIC and ORA-12154 error

    Hi all


    I have a problem on the public database link creation and I would be grateful if you could kindly give me a helping hand. I have the following connection settings in my
    tnsnames.ora file:
    ...
    DGPAPROD.WORLD = 
         (DESCRIPTION = 
           (ADDRESS_LIST = 
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
             ) 
           )
           (CONNECT_DATA = (SID = DGPAPROD))
        )
    ...
    Having the above mentioned parameters, I can connect to this remote database directly in a SQL * more shell:
    $ sqlplus username/[email protected]
    It works pretty well and the connection is established without any problem.

    Now, what I want to do is to create a public database of this remote database link to avoid the user/connection of switch for the visualization of the
    the content of this database. I proceeded in line with the syntax indicated in the Oracle online documentation:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205

    This is why I run the following to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';
    Apparently there is no error and the link is created successfully. However, it cannot resolve the remote host and every time I run this query
    (myenterprise is the name of a table in the remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    What causes this problem?

    Thanks in advance,


    Kind regards
    Dariyoosh

    You must have defined DGPAPROD. WORLD in tnsnames.oar on the server where DB is runnig.

  • Public link connected from a sys user database

    people, pls aplogise me if this is a silly question...

    I create a public database link connected through "sys" username (sysdba role) on the source db

    I don't use 'connect to' clause and therefore connected default value 'sys' will be taken for the user connection

    sys users everywhere to the db of the source and target have the same password

    Now, when I query select * from dual@linkname

    of the source database, it does not work... Why?

    Also tried connecting from another user, same problem.

    Error returned:

    SQL > select * from dual@db4_jpnprd;
    Select * from dual@db4_jpnprd
    *
    ERROR on line 1:
    ORA-01017: name of user and password invalid. connection refused
    ORA-02063: preceding the line of DB4_JPNPRD

    Please help... as it's quite urgent... thnx

    A public database link created with only the 'USING' clause and not the "CONNECT to...". IDENTIFIED BY... "provides the same username/password pair (SCOTT/TIGER in your example) exist in the remote database. Username and password must be the same.

  • Cannot connect through the ORA-01017 Invalid Username/Password database link

    Hello

    I have two virtual machines with Oracle 11 g 2 and one with Oracle 12 c installed on RHEL 6

    I wanted to install a dblink between the 2, but after you have created the dblink I get error: ORA - 01017 Invalid username/password

    Now, I know, the error is clear enough but when I try to connect using netmgr it works

    So just to summarize, Oracle 12 c, I'm trying to connect to Oracle 11 g using a DBLINK but I get ORA-01017

    Since Oracle 12 c, I created a new service so that I have the remote db alias in tnsname.ora and at the end of the process, when they ask for test connection, I can connect successfully to remote db

    Then I created a dblink according to the following:

    SQL > CREATE PUBLIC DBLINK LINK DATABASE to CONNECT to

    "hr""" IDENTIFIED BY ' password ' with the HELP of 'REMOTEDB ';

    If I then select * from employees@dblink, I get the error

    What I've noticed, it is that in the 11g (the target machine) I can not connect with OS authentication, don't know if its related

    If i: sqlplus / as sysdba I get ORA-01031 insufficient become

    I have to connect to the Linux box as user 'oracle', who is a member of the groups oinstall dba

    Am I missing something?

    Thank you!

    CHRI$ says:

    SQL > CREATE PUBLIC DATABASE LINK DBLINK TO CONNECT TO

    'hr' IDENTIFIED BY 'password' with the HELP of "REMOTEDB";

    You will probably have to create the link without containing the user name and the word in double quotes.

  • ALTER USER on read-only database link db

    Oracle 11.2.0.3.6

    Solaris 10

    I have a primary database and one Active Data Guard standby database physical.  My read-only database users must be able to change their password for read-only standby.  I tried to create a stored procedure with an ALTER USER inside statement and then to have my user call the stored procedure of the unalterable standby by: MIMI EXEC. CHGPWD@PRIM ();

    This translates into:

    ERROR on line 1:

    ORA-16000: database opened for read-only access

    ORA-06512: at "MIMI. CHGPWD', line 27

    ORA-06512: at line 1

    How can I allow a user who cannot access the read-only database to change their password for read-only standby?

    Here my stored procedure:

    CREATE OR REPLACE PROCEDURE MIMI. CHGPWD IS

    -CREATE OR REPLACE PROCEDURE CHGPWD IS

    sql_stmt VARCHAR2 (200);

    BEGIN

    sql_stmt: = 'ALTER USER MIMITEST IDENTIFIED BY 111111';

    EXECUTE IMMEDIATE sql_stmt;

    END CHGPWD;

    /

    Ah, I got it!  I had to create a public synonym for my stored procedure, and then create another stored procedure and use the synonym.  This is explained in the documentation of Oracle packages and PL/SQL procedures coding under the section 'referring to remote objects.  Here is what I have from the beginning to the end (My SID is MIMI and the unique name on the primary is MIMI_A):

    Read-only mode ensures:

    ALTER SYSTEM SET GLOBAL_NAMES IS FALSE SCOPE = BOTH;.

    Elementary school:

    ALTER SYSTEM SET GLOBAL_NAMES IS FALSE SCOPE = BOTH;.

    CREATE THE PUBLIC DATABASE LINK MIMI_A.WORLD WITH THE HELP OF "MIMI_A";

    ALTER SYSTEM SET GLOBAL_NAMES IS TRUE SCOPE = BOTH;.  (I need to have this true on my primary game)

    CREATE OR REPLACE PROCEDURE MIMI. CHGPWD IS

    Working directory;

    BEGIN

    dbms_job. Submit (job,' BEGIN EXECUTE IMMEDIATE "ALTER USER MIMITEST IDENTIFIED BY 666666";) END ;') ;

    END;

    /

    CREATE CHGPASS SYNONYM PUBLIC FOR MIMI. CHGPWD@MIMI_A.WORLD;

    CREATE OR REPLACE PROCEDURE MIMI. LOCAL_PROCEDURE IS

    BEGIN

    CHGPASS;

    END;

    /

    GRANT EXECUTE MIMI. CHGPWD TO MIMITEST;

    GRANT EXECUTE MIMI. LOCAL_PROCEDURE TO MIMITEST;

    Read-only mode ensures:

    Mimi/oracle/1120308 > sqlplus mimitest

    SQL * more: Production of the 11.2.0.3.0 version Fri Sep 19 15:55:56 2014

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    Enter the password:

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exec MIMI. LOCAL_PROCEDURE;

    PL/SQL procedure successfully completed.

  • Public database link does not work

    Hello

    I want to create a link from public database between 2 server in a different physical location, but in an intranet. Once I created the public database link... I keep having this error



    ORA-12154: TNS: could not resolve service name
    12154 00000 - "TNS: could not resolve the connect identifier specified.


    *(Server 1-German-11gR2) *.
    TNS:

    Server1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 178.44.44.45)(PORT = 15210))
    )
    (CONNECT_DATA =
    (SID = server1)
    (SERVER = DEDICATED)
    )
    )




    * Server (2-Malaysia-9iR2). *
    AMT:

    Server2 =
    (DESCRIPTION =
    (FAILOVER = ON)
    (LOAD_BALANCE = OFF)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 178.44.44.35)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = 178.44.44.81)(PORT = 1521))
    )
    (SDU = 32777)
    (CONNECT_DATA =
    (SERVICE_NAME = PROD_server2)
    )
    )



    I just want to create a database link course where Server 2 can enter the data on server 1, so I create my link database to Server 2. However, I always saw the problem. The TNSi under here are sample test, but it is working very well in here when connect you using the sql and sql navigator developer. (I think that nothing wrong with the tns) but is somehow the error message given TNS: could not resolve service name. So I don't really know what has gone wrong... PLEASE HELP ~ ~



    ~ Vincent.

    Hello
    If you create the link db on server 2 so you need a tnsnames.ora entry that points to the server 1.
    You should have an entry in the file tnsnames.ora on server - 2

    Server1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 178.44.44.45)(PORT = 15210))
    )
    (CONNECT_DATA =
    (SID = server1)
    (SERVER = DEDICATED)
    )
    )

    then create the database on server 2 - link

    CREATE DATABASE LINK PUBLIC 'server1_schemaA '.
    CONNECT to schemaA
    IDENTIFIED BY password
    Using "Server1."

    Kind regards
    Mike

  • creating user using the database link

    Hello

    I have 11g installed on one of the server
    I created the database BUGAU to bugau.us.oracle.com link
    link works fine

    "Select * from table@"Bugau "gives the expected result

    I ran the Sub statement to my server using the dblink.but do not know how to use the dblink to that effect. Please sat down

    CREATE USER ABC IDENTIFIED BY welcome TEMPORARY by DEFAULT TABLESPACE USERS_001 temp123 TABLESPACE;

    GRANT DEFAULT TO abc;

    ALTER USER abc PROFILE LEVEL_1;

    Thank you
    Archana

    Bravid wrote:

    You cannot create a user on a remote database using a database link.

    You can, but it is not a good design:

    SQL> exec dbms_utility.exec_ddl_statement@orcl('CREATE USER ABC IDENTIFIED BY ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_utility.exec_ddl_statement@orcl('GRANT CREATE SESSION TO ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> connect abc@orcl/ABC
    Connected.
    SQL> 
    

    Of course, the user in the database unite ORCL must have EXECUTE on DBMS_UTILITY privilege.

    SY.

  • Using the database link to connect to two databases

    Hi guys,.
    Here's my question. I need to give to a Select rights contractor on the tables located in two schemas located on two different servers. A dev server and a prod. Let's say we have a user schema: EMPLOYEE on the dev and user schema: DEPARTMENT on prod. The outside contractor needs certain rights on all the tables in the schema DEPARTMENT but just select on a few (4 to be exact) tables from a diagram of the EMPLOYEE.

    My first train of thougth is: CREATE a named user: TEST (of course, only used for an example of random name) for contractor on prod. Give some rights to TEST user on all the tables in the schema of DEPARTMENT.
    Create the link of database to the dev server so user TEST can access the EMPLOYEE schema.

    How can I go to limit the user TEST link database to display only 4 tables to EMPLOYEE instead of all the tables?

    Should I also do this scenario backwards? Creating user TEST on dev, giving rights TEST for 4 tables in the FRAMEWORK, and then creating the database for you link connect to schema Department on production database?

    Any help will be appreciated. Thanks in advance.

    Just set up a new DEV scheme to be used by the link of database connection string.

    -create synonyms in this schema@DEV for these four tables.
    -grant select access on these four tables to this schema@DEV.

  • Error connecting to DB2 Oracle, through database links

    Hello
    I'm working on an application of VB in which I use the ORAOLEDB. Driver Oracle to connect to my Oracle 10 g R2 server. My Oracle database connect in turn to a DB2 database via a database link. When I try to run stored procedures that contain simple PL/SQL queries, the connection works very well and recovers all data. However, when I try to run a CEP stored containing a reference cursor in it, I start to meet the following in the application error message:

    ORA-01002: Fetch out of sequence.
    Line before the < < DB DB2 link > >

    Please do advice.

    Thanks in advance.

    Hello

    I can miss the obvious here, but could you please post the code that creates a local transaction suggests? I'm not very familiar with the use of interop with VB ADO, but I guess there should be a con. BeginTrans in there somewhere as there is in VB6.

    Try something like this (can not compile, just coding top-of-my-head here)

    mcnnOBBT.BeginTrans
    Set rstTBK = cmdStoredProc.Execute
    
    If rstTBK.Fields("Book_Num").Value <= 1 Then
    MsgBox ("u are set")
    End If
    
    mcnnOBBT.CommitTrans
    cmdStoredProc.Properties("PLSQLRSet") = False
    Set rstTBK = Nothing
    
  • Import the database link

    I try to import tables from one database to another via a database link. But faced with a weird error. Help, please.

    Operating system:  Server Linux Oracle release 6.4

    Database of the source: Oracle 12.1.0.2

    Target databases: Oracle 12.1.0.2


    Measures

    1. Created a TNS entry for the source on the target server database.
    2. Create a link from public database to the schema of the source by using the tns name.
    3. Created a database in the target database directory and the permissions granted to the user target.

    Run the command below

    Impdp directory with name of user and password = dirname tables = network_link = linkname schema.tablename

    Get the below output

    Import: Release 12.1.0.2.0 - Production on Fri 9 Oct 14:51:32 2015

    Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

    Connected to: Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production database

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    ORA-39004: invalid state

    ORA-39091: unable to determine the State of standby and logical flow

    ORA-06550: line 1, column 47:

    PLS-00103: encountered the symbol "IN" when the expected in the following way:

    < an ID > < a between double quote delimited identifiers of >


    Hello

    Run the command below

    Impdp directory with name of user and password = dirname tables = network_link = linkname schema.tablename

    can you show real impdp statement executed...

    I guss here is the problem network_link 'name '.

    Rajesh

  • How to create the database link between the production and the test server

    You will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.

    Could someone please answer for example?




    Thank you
    sRII

    You will need to create a link between Test and prod DB access. We need only select access from user@prod to user1@test.

    Could someone please answer for example?

    If test for prod

    create public database link to_prod connect to the user identified by password using 'to_prod ';

    Check that to_prod is directed to your production database.

  • Database link question

    I read that it is possible to create a private database link and set up a public synonym to the private database link. But when I try it doesn't work. Is there another way to do this?

    My goal is to have the private database link and private synonyms exist in a single schema and have only certain users have access to. Is there another way to solve this problem without setting a private database synonyms and additional link in several patterns?

    Thank you
    Violet

    Violet says:
    I understand that this error occurs because the database connection is private. This suggests that this scenario is not possible after all?

    Views + grants:

    SQL> connect scott@orcl
    Enter password: *****
    Connected.
    SQL> create database link sol10_private connect to scott identified by tiger using 'sol10';
    
    Database link created.
    
    SQL> create public synonym sol10_private for v$database@sol10_private;
    
    Synonym created.
    
    SQL> create user u1 identified by u1;
    
    User created.
    
    SQL> grant create session to u1;
    
    Grant succeeded.
    
    SQL> select name from v$database;
    
    NAME
    ---------
    ORCL
    
    SQL> select name from v$database@sol10_private;
    
    NAME
    ---------
    SOL10
    
    SQL> select name from sol10_private;
    
    NAME
    ---------
    SOL10
    
    SQL> connect u1@orcl
    Enter password: **
    Connected.
    SQL> select name from sol10_private;
    select name from sol10_private
                     *
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    
    SQL> connect scott@orcl
    Enter password: *****
    Connected.
    SQL> drop public synonym sol10_private;
    
    Synonym dropped.
    
    SQL> create or replace
      2    view sol10_private_vw
      3      as
      4        select  *
      5          from  v$database@sol10_private;
    
    View created.
    
    SQL> grant select on sol10_private_vw to u1
      2  /
    
    Grant succeeded.
    
    SQL> create public synonym sol10_private for sol10_private_vw;
    
    Synonym created.
    
    SQL> select name from sol10_private;
    
    NAME
    ---------
    SOL10
    
    SQL> connect u1@orcl
    Enter password: **
    Connected.
    SQL> select name from sol10_private;
    
    NAME
    ---------
    SOL10
    
    SQL> 
    

    SY.

  • try to reduce the database links

    Hello. Thank you for helping.


    I think my basic question is this:


    I can connect and create database links that can be used by all other users (and tablespaces?) on the server?


    I have a bad understanding of how the areas of storage, dblinks and users go together, so I'll briefly describe my setup process so you can see how I have things that can be part of the cause of my confusion, possibly in a subtle way.


    For this example, I have 2 servers with Oracle 11 g Enterprise.


    After you create a database, I then create tablespaces, users and links like this:


    On server 1:


    create storage my_app1
    create the user my_app1
    create storage my_app2
    create the user my_app2


    and so on for all areas of storage and users on the server.


    Then log in as my_app1 and create a link of database on server2:


    link_to_s2 fixed my_app3 user


    Then log in as my_app2 and create a link of database on server2:


    link_to_s2 fixed my_app3 user


    Same process on server2:


    create storage my_app3
    create the user my_app3
    create storage my_app4
    create the user my_app4


    and so on to server2.


    Then log in as my_app3 and create a database link to server1:


    link_to_s1 fixed my_app1 user


    Then log in as my_app4 and create a database link to server1:


    link_to_s1 fixed my_app1 user


    It operates well for me, except that I have to create four dblinks.


    Is everything I see how this can be simplified to create dblinks less?


    Any suggestions are greatly appreciated.

    Hello..

    Why not create a public database link.

    Documents: -.

    Specify the PUBLIC to create a public database link available to all users. If you omit this clause, the database link is private and is only available to you.
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#sthref6315]

    Anand

Maybe you are looking for