Monday, March 12, 2012

servers

I am using linked server for different sql servers. It is working perfectly. I don't have any problem with jet and excel also. when i am configuring the oracle to linked server it is adding the server perfectly. when i trying to see the tables in the linked server i am gettin the error number 7399. here i am attaching the error jpg file. The syntax used for linked server is as follows

EXEC sp_addlinkedserver
@.server = 'ORCL',
@.srvproduct = 'Oracle',
@.provider = 'MSDAORA',
@.datasrc = 'ORCL'

The syntax for remote login is as follows

1. sp_addlinkedsrvlogin 'orcl',false,null,null,null

2. sp_addlinkedsrvlogin 'orcl',false,'sa','sai','sai'

3. sp_addlinkedsrvlogin 'orcl',true, 'sa','sai','sai'

Here sai is the name of the user and pasword in oracle. The service name is orcl. I tried with all the above options. but still i am getting the same error.

Please tell me the where i have done mistake in this oneDo you have the Oracle client on the machine that is running the SQL server ?|||check here:
http://www.sqlmag.com/Articles/Index.cfm?ArticleID=22264

No comments:

Post a Comment