SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS Packge Fails Importing Data to SQL Server from Oracle


SSIS Packge Fails Importing Data to SQL Server from Oracle

Author
Message
sudhirnune
sudhirnune
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 252
Hi All,

I am Facing Currently with one Key Issue.

I have a Package which Imports the Data from Oracle to SQL Server DB Tables.

Package Runs Well without any issue in Integration Services as "Run Package".

But on Running it using the JOB, the Data Flow fails saying the "cannot convert between unicode and non-unicode string data types".

But this Does not occur on Running the Package from Integration Services or BIDS.

Please need pointer to get this issue resolved.

Thanks,
Sudhir Nune
Dev
Dev
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3592 Visits: 1602
Add Data Conversion transformations to convert string columns from non-Unicode (DT_STR) to Unicode (DT_WSTR) strings, or vice versa.

More: http://msdn.microsoft.com/en-US/library/aa337316(v=sql.90).aspx
sudhirnune
sudhirnune
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 252
Hi Dev,

We have Already the Data Conversion setup in the Data Flow.

The Package work Fine when Executing it in the INtegration Services by "Run-Packge".

But Fails in Job...!
challa.rajesh
challa.rajesh
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 101
Hi sudhirnune,
Did you find any solution i am having same issue with my SSIS job. I have a package in oracle and i am trying to populate the SQl server Table.
Please let me know if you have any solution.

Thanks
sudhirnune
sudhirnune
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 252
Solution is that,

1. Open the Data Flow
2. Click / Select the Data / Source Component of Oracle DB
3. Now Right click and Select Advanced.
4. In the Advanced window go to the last tab.
5. In last tab, you will find External Columns, Output Columns & Error Columns.
6. Now Click on Each Column and change the Value from String to "Unicode - String" for all the Sting Columns.
7. Once you Complete it, close the advanced window.
8. Select the Oracle Source Component and Open Properties.
9. Change the two Characteristics
a. Default Code to "0"(Zero).
b. Validate the Datatype "FALSE"
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search