YZlat
asked on
Getting data from Oracle database into SQL Server database tables
What is the best way to get the some data out of an oracle database on UNIX server into the SQL Server database table on Windows server?
Would exporting data into an Excel file via SQL Developer and them importing it into a SQL Serve rdatabase be the best way?
Would exporting data into an Excel file via SQL Developer and them importing it into a SQL Serve rdatabase be the best way?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SQL Server's SSIS can move data from Oracle to SS also. Bigger companies often have security guidelines that make linked servers a hassle and so SSIS is an easy way around that kind of thing.
ASKER
David Todd, any tips on how to create linked server between SQL Server database and Oracle db on UNIX?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
David, in the line where you are creating linked server:
EXEC master.dbo.sp_addlinkedser ver @server = N'EXSTOCK', @srvproduct=N'OraOLEDB', @provider=N'OraOLEDB.Oracl e', @datasrc=N'PROD'
@datasrc parameter is the name of the database or is it the tns entry name from tnsnames.ora file?
and also is @srvproduct value OraOLEDB an actual value or a sample value?
EXEC master.dbo.sp_addlinkedser
@datasrc parameter is the name of the database or is it the tns entry name from tnsnames.ora file?
and also is @srvproduct value OraOLEDB an actual value or a sample value?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
David, if I decide to create an SSIS package to transfer the data on regular basis, do I still need to create a linked server separately, or will it be created in the process of SSIS creation?
I also noticed that OraOLEDB.Oracle provider is not installed on the SQL Sever. What do I need to install there in order to have that provider? Oracle client 64-bit is already installed
I also noticed that OraOLEDB.Oracle provider is not installed on the SQL Sever. What do I need to install there in order to have that provider? Oracle client 64-bit is already installed
This is an oracle drivers it can be downloaded from oracle.
http://www.oracle.com/technetwork/database/windows/utilsoft-088126.html
http://www.oracle.com/technetwork/database/windows/utilsoft-088126.html
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks David.
Would you be so kind to also help me on this question?
https://www.experts-exchange.com/questions/28355135/Connecting-to-oracle-from-SSIS.html
There I am trying to figure out how to go about conecting to Oracle db on AIX operating system.
Would you be so kind to also help me on this question?
https://www.experts-exchange.com/questions/28355135/Connecting-to-oracle-from-SSIS.html
There I am trying to figure out how to go about conecting to Oracle db on AIX operating system.
ASKER
Praveen, the link you posted seems to only contain older Oracle versions, up to 10g, and I am dealing with 11g.
ASKER
Thank you!