SSIS Packge Fails Importing Data to SQL Server from Oracle

  • 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

  • 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

  • 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...!

  • 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

  • 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"

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply