Solved

Trying to import oracle data via sql server ssis

Posted on 2011-09-26
1
411 Views
Last Modified: 2012-05-12
I'm trying to set up an ssis package to collect some data from some oracle tables. A few of the columns in the resulting query show up as System.Byte (with a trailing square). The data type on the oracle side is RAW (16) and shows as a 16 byte hex number when I view the data through toad (i'm a newbie with oracle).

The SSIS connection manager shows the provider as Native OLE DB\Microsoft OLE DB Provider for Oracle, but, I've also tried Native OLE DB\Oracle Provider for OLE DB. Both get the same result.

Any thoughts on how I can get the data to show up as 16 byte hex?

thanks
alan
0
Comment
Question by:avoorheis
1 Comment
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 36709807
ORACLE RAW(16) translates to UNIQUEIDENTIFIER in SQL without the acolades. You could transfer it  as varchar in SQL then varchar to GUID or UNIQUEIDENTIFIER in the SSIS via the linked server to ORACLE database.

Please see more details at link below:
http://social.msdn.microsoft.com/Forums/en-US/sqlservermigration/thread/9879bb6c-bde8-4ef8-b0c2-684e25e26b67/
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now