DBLINK问题,谁帮忙解决一下!

[复制链接]
查看11 | 回复3 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
DBLINK问题,谁帮忙解决一下!
Error on line 2
SELECT * FROM [email protected]
ORA-02085: database link HZSQ.BIS.SWIREBEV.COM connects to HZSQ
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
ORA-02085database link name connects to name
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.
你连接到database link所指向的数据库然后把global_name取出来作为你的database link名称
select global_name from global_name;
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
tks
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
修改global_name 为false
或者动态修改
alter system set global_name=false
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行