Hi,
I am trying to connect from oracle to sqlserver using oracle oledb
but when i try to execute the follwing command from sqlplus i am
getting error:
SQL> select * from "dbo"."EMPLOYEES"@MSOLEDB;
select * from "dbo"."EMPLOYEES"@MSOLEDB
*
ERROR at line 1:
ORA-12154: TNS:could not resolve service name
the tnsnames.ora entry looks like this:
MSOLEDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora2000)(PORT = 1521))
)
(CONNECT_DATA =
(SID = GCORA2000)
)
(HS=OK)
)
sql server name is ora2000.
what i have to change.
Thanks
Harvinder
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Harvinder Singh
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).