Solved

Trying to import oracle data via sql server ssis

Posted on 2011-09-26
1
428 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

770 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