| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> how to connect from oracle to sql server database
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
*
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: Harvinder.Singh_at_MetraTech.com 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: ListGuru_at_fatcity.com (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).Received on Wed Jun 06 2001 - 11:27:54 CDT
![]() |
![]() |