Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Read Oracle 10g table in SQL Server 2012
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 02/12/2013 :  07:45:56  Show Profile  Reply with Quote
Hi all,

I have Oracle on an XP machine, and use the 'Oracle in OraDB10g_home1' driver to read the data. I have another Windows Server 2008 R2 machine on the same network, with SQL Server 2012 on it. What is the best way to read Oracle Tables in SQL Server? Can I setup an ODBC link from my Windows Server machine to the Oracle Database (which would require me to download an Oracle ODBC driver)? Or is the best way to export the required tables from Oracle (e.g. into csv format) and import them into SQL?

Thanking you in advance,

Flowing Fount of Yak Knowledge

United Kingdom
3385 Posts

Posted - 02/12/2013 :  08:17:07  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Simplest is an export from oracle followed by an import into sql server - then you don't need to have both on-line at once and the file forms a contract between the servers.

Whatever you do you will need to make sure that the data can be held in sql server. Often dates are a problem as oracle has a wider date range than a datetime. Also (depending on the code pages) often the character data needs to be conveted on export.

You can do this via a linked server if you like - but may well need to transfer using queries actioned on oracle to transform the data. Similarly for SSIS - which I would probably use in preferance to a linked server.

Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Starting Member

3 Posts

Posted - 02/12/2013 :  12:02:44  Show Profile  Reply with Quote
Ok, thanks for your help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000