Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Linked server issues Expand / Collapse
Posted Saturday, March 10, 2012 1:38 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: 2 days ago @ 1:53 PM
Points: 324, Visits: 775
Hi friends,

I'm trying to create linked server from SQL Server 2005 SP3 on Windows 2003 64-bit to Oracle database 64-bit.

Steps are below:

Installed InstantClient Oracle 11gR2 ( for Microsoft Windows (x64) to C:\Oracle\product\11.2.0\client_1 folder on the SQL Server - database server.

Installed ODAC ( ODAC112021Xcopy_x64 for Windows x64 by executing
install.bat all C:\Oracle\product\11.2.0\client_1 odac

Checked the Allow inprocess of OraOLEDB.Oracle provider in SSMS.

Created ODBC connection to the Oracle database - ORADB. Connection successful via ODBC and sqlplus.

Executed sp_addlinkedserver @server = 'TEST_LINK', @srvproduct = 'Oracle', @provider = 'OraOLEDB.Oracle', @datasrc = 'ORADB'

I have executed sp_addlinkedsrvlogin @rmtsrvname = 'TEST_LINK', @useself = 'FALSE', @rmtuser = 'orauser', @rmtpassword = 'pwd'

The orauser is the oracle username and pwd is the password for the oracle user orauser.

When I click Test Connection for the linked server TEST_LINK in SSMS, it just hangs.. When I try to run a query
to ORADB , 'select * from TEST_LINK..ORAUSER.TABLE1 ' - it runs forever and eventually SSMS hangs.

Please help.. Thanks

Post #1264785
Posted Monday, March 12, 2012 5:19 AM

Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 3:30 PM
Points: 1,431, Visits: 7,278
Have a look at
Your way is much clearer than mine using the full oracleinstall.
Post #1265067
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse