Problem solve Get help with specific problems with your technologies, process and projects.

Linking SQL Server 2000 to Oracle 8i

The following were the steps taken to create a linked server from SQL 2000 to Oracle 8i.

The following were the steps we took to create a Linked Server from SQL Server 2000 to Oracle 8i.

  1. Install the Oracle client on the SQL Server host machine.
  2. Do this registry edit (for Microsoft Windows 2000):
  3. Create an ODBC Data Source to Oracle:
     System DSN -> Add
     Oracle ODBC driver
     Data Source Name = (Oracle Connect String - ex. ORACLE_PROD)
     Description = (Oracle Connect String - ex. ORACLE_PROD)
     Service Name = (Oracle Connect String - ex. ORACLE_PROD)
     UserID = sqldba (Oracle User ID)
  4. Reboot
  5. Set up the Linked Server:
     Provider Name = Microsoft OLE DB Provider for Oracle
     Product Name = (leave blank)
     Data Source = (DSN Name from step 3)
     Provider string = MSDAORA
  6. Test:
     Select * from ORACLE_PROD..(Database Schema).(Table Name)

Reader Feedback

Vlada B. writes: This is a great tip! I'll be sure to pass this along.

Mary C. writes: The accuracy of the tip is right on target. However, for an enterprise setup, this is giving a loaded gun to folks. Our experience with Oracle clients on our already overloaded SQL Server database servers has resulted in poorer performance and in some cases, eventual blue screens. Microsoft has lots of nice features for jobs on development boxes but it wrecks havoc on our larger, shared enterprise servers. Even they say that a database server should remain only a database server (no extraneous files, clients, etc) if you want to get the best throughput and minimize problems.

This was last published in July 2002

Dig Deeper on Oracle and SQL

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.