0
I have an Oracle 9i in my server and MS SQL Server 2017. I wanted to link the Oracle database to my MS SQL. I am trying to add the Oracle Database to MS SQL as a Linked Server.
0
I have an Oracle 9i in my server and MS SQL Server 2017. I wanted to link the Oracle database to my MS SQL. I am trying to add the Oracle Database to MS SQL as a Linked Server.
0
You can create an Oracle linked server on your SQL Server instance to query data on Oracle from SQL Server. Below are the steps you need to do:
The Provider Options dialog box appears. Enable the "Allow inprocess" option and close the dialog.
--Create the Oracle Linked Server:
EXEC sp_addlinkedserver @server, @srvproduct, @provider, @datasrc
--For example: If I want to create a linked server called LK_TIPS to the ORATIPS --database on the SRVORA1 server, listening on the default port of 1521 my query --would look like this:
EXEC sp_addlinkedserver 'LK_TIPS', 'Oracle', 'OraOLEDB.Oracle', 'SRVORA1:1521/ORATIPS'
Create a login for the LK_TIPS linked server we just created with a login of 'sa' and a password set to 'password' would look like this:
EXEC sp_addlinkedsrvlogin 'LK_TIPS', 'FALSE', 'sa', 'password'
Please explain further what link means to you? move data from a DB to other DB? how to migrate data? – GiannakopoulosJ – 2019-09-12T07:45:38.437
@GiannakopoulosJ I am trying inserting data to Oracle database through MS SQL – Lawrence Agulto – 2019-09-12T07:46:41.557
@GiannakopoulosJ or inserting data in my MS SQL Database and moving the data inserted to the Oracle database – Lawrence Agulto – 2019-09-12T07:47:45.997
There is a tool SQL Server Migration Assistant that allows you to migrate data from Oracle->MSSQL but you want vice versa. It seems that you have to create a mechanism of extract/load customized for your need. – GiannakopoulosJ – 2019-09-12T11:07:50.177
@GiannakopoulosJ I am trying to query insert data from MS SQL database to Oracle is that possible? – Lawrence Agulto – 2019-09-13T00:07:03.850
Through export/import (in csv?), or ETL tools. I don't know any technique that makes a DB link between heterogeneous RDBMS. – GiannakopoulosJ – 2019-09-13T10:00:54.123
You mean like this: Setting up SQL Server 2014 and Oracle 12c Linked Servers?
– Ronaldo – 2019-09-13T19:59:48.220I mean like this https://www.youtube.com/watch?v=dpH-C4sS5xw @Ronaldo
– Lawrence Agulto – 2019-09-17T00:05:27.643