database link [message #197794] |
Thu, 12 October 2006 14:00 |
sweetgeegee27
Messages: 107 Registered: June 2005
|
Senior Member |
|
|
I have a database link to query a view created of an external source, but they keep on getting error message: a table or view does not exist. Please note that the link use to work fine in Oracle 8i but we have just migrated to 10g. THe link is as follows:
CREATE SHARED PUBLIC DATABASE LINK ASYDB_GENESIS.SIGTAS
CONNECT TO IRD_CUSTOM IDENTIFIED BY IRD_CUSTOM
AUTHENTICATED BY IRD_CUSTOM IDENTIFIED BY IRD_CUSTOM
USING 'ASYDB_GENESIS';
Can anybody tell me what may be wrong? Thanks in advance
|
|
|
|
|
|
|
Re: database link [message #197808 is a reply to message #197801] |
Thu, 12 October 2006 15:39 |
sweetgeegee27
Messages: 107 Registered: June 2005
|
Senior Member |
|
|
Ok. I know that the service name is ASYDB_GENESIS. but when I test the link it returns ORA-12154: TNS:could not resolve the connect identifier specified.
|
|
|
|
Re: database link [message #198551 is a reply to message #197810] |
Tue, 17 October 2006 10:19 |
sweetgeegee27
Messages: 107 Registered: June 2005
|
Senior Member |
|
|
Thanks for help but I was able to fix the database link by using a different service name (apparently the current name was incorrect) and then granting the user select permission on the view used for the link.
|
|
|