Solved

Trying to import oracle data via sql server ssis

Posted on 2011-09-26
1
464 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

707 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