--改为公共的数据连接
create public database link shtj
    connect to cwu identified by cwu
    using 'shtj';select * from emp@shtj;

解决方案 »

  1.   

    楼上的那个错误不是公用的问题,我把错误解释给你贴出来:
    ORA-02085 database link string connects to string
    Cause: The database link attempted to connect to a database with a different
    name. The name of the database link must be the same name as the name of the
    database.
    Action: Create a database link with the same name as the database to which it
    connects.
    你还是自己去解决,会提高你的能力的!