Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> weird problem with database link and synonym
Here is the problem:
SQL> CREATE SYNONYM W_T FOR W_T_at_DBL;
Now, I am able to run the follwing query within sqlplus session:
But the same query from the command line and SQL script file (as below)
produces the following well-known error: ORA-12154: TNS:could not resolve service name
Besides, "tnsping DBL" succeeds.
Platform: Oracle 8.1.6 / Linux 2.2.16
Any idea? Received on Mon Oct 01 2001 - 05:51:53 CDT
![]() |
![]() |