Step1: Download Oracle client
Step2: Install Oracle Client in the server where MS SQL Database installed
Step3: Configure tnsnames.ora file in Oracle client
Step4: Start SQL Server Management Studio
Step5: Enter the login name and password for a SQL administrator account such as sa.
Right-click Linked Server and click New Linked Server.
Step7 : Create a SQL Server Linked Server Object
- Start SQL Server Management Studio
- Expand Server Objects
- Expand Linked Servers
- Expand Providers
- Make Sure MSDASQL (Microsoft OLE DB Provider for ODBC Drivers) is installed on the server
- Right Click on Linked Servers
- Select New Linked Server...
- Assign a name to the Linked Server; I suggest a single word name like oracle_db.
- Select Microsoft OLE DB Provider for Oracle
- Set the Product Name to Oracle Database.
- Set the Data Source to the tnsname
- Select Security page
- Select Be made using this security context
- Set the Remote login field to the Oracle Database User Id
- Set the With password field to the Oracle Database Password
- Click OK button
No comments:
Post a Comment