Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS Packge Fails Importing Data to SQL Server from Oracle Expand / Collapse
Author
Message
Posted Wednesday, May 23, 2012 4:38 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, March 6, 2014 11:47 PM
Points: 86, Visits: 214
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
Post #1304827
Posted Wednesday, May 23, 2012 11:39 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, July 22, 2014 5:56 AM
Points: 2,013, Visits: 1,584
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


Dev

Devendra Shirbad | BIG Data Architect / DBA | Ex-Microsoft CSS (SQL 3T) | Open Network for Data Professionals...
LinkedIn: http://www.linkedin.com/in/devendrashirbad
Post #1305218
Posted Wednesday, May 23, 2012 10:42 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, March 6, 2014 11:47 PM
Points: 86, Visits: 214
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...!
Post #1305513
Posted Friday, June 1, 2012 9:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Yesterday @ 5:13 PM
Points: 3, Visits: 66
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
Post #1309833
Posted Saturday, June 2, 2012 5:33 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, March 6, 2014 11:47 PM
Points: 86, Visits: 214
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"
Post #1310089
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse