oracledblink错误OR...

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

not resolve the connect identifier specified
我创建了一个dblink去调用另外一个数据库如下:
create public database link LINKA
connect to aaa identified by aaa123
using '(DESCRIPTION =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.223.21.2)
(PORT = 1341)
)
)
(CONNECT_DATA =
(SERVICE_NAME = bbb)
)';
aaa和aaa123是我登陆数据库bbb的用户名和密码
现在的问题是dblink创建好了,在pl/sql的DataLink links下面也可以看到不过当我调用Select * From aaa.test@LINKA的时候显示错误
ORA-12154 could not resolve the connect identifier specified
这是为什么?
------解决方法
--------------------------------------------------------
探讨
ORA-12154 could not resolve the connect identifier specified 不过这个不是两个DESCRIPTION = 的问题那个是我复制的时候没弄好
原因好像是同一个oracle数据库的两个数据库用户互相访问对方的表的时候好像不能用dblink的方式,直接用"用户名.表名"就可以了。

not resolve the connect identifier specified
我创建了一个dblink去调用另外一个数据库如下:
create public database link LINKA
connect to aaa identified by aaa123
using '(DESCRIPTION =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.223.21.2)
(PORT = 1341)
)
)
(CONNECT_DATA =
(SERVICE_NAME = bbb)
)';
aaa和aaa123是我登陆数据库bbb的用户名和密码
现在的问题是dblink创建好了,在pl/sql的DataLink links下面也可以看到不过当我调用Select * From aaa.test@LINKA的时候显示错误
ORA-12154 could not resolve the connect identifier specified
这是为什么?
------解决方法
--------------------------------------------------------
探讨
ORA-12154 could not resolve the connect identifier specified 不过这个不是两个DESCRIPTION = 的问题那个是我复制的时候没弄好
原因好像是同一个oracle数据库的两个数据库用户互相访问对方的表的时候好像不能用dblink的方式,直接用"用户名.表名"就可以了。

not resolve the connect identifier specified
我创建了一个dblink去调用另外一个数据库如下:
create public database link LINKA
connect to aaa identified by aaa123
using '(DESCRIPTION =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.223.21.2)
(PORT = 1341)
)
)
(CONNECT_DATA =
(SERVICE_NAME = bbb)
)';
aaa和aaa123是我登陆数据库bbb的用户名和密码
现在的问题是dblink创建好了,在pl/sql的DataLink links下面也可以看到不过当我调用Select * From aaa.test@LINKA的时候显示错误
ORA-12154 could not resolve the connect identifier specified
这是为什么?
------解决方法
--------------------------------------------------------
探讨
ORA-12154 could not resolve the connect identifier specified 不过这个不是两个DESCRIPTION = 的问题那个是我复制的时候没弄好
原因好像是同一个oracle数据库的两个数据库用户互相访问对方的表的时候好像不能用dblink的方式,直接用"用户名.表名"就可以了。

相关文档
最新文档