all groups > sql server dts > november 2003 >
You're in the

sql server dts

group:

SQL Server to Oracle data migration


SQL Server to Oracle data migration Jeff Strickland
11/29/2003 4:41:31 AM
sql server dts:
Hello all,

I am having a problem with a data migration from SQL Server to Oracle 9i
using DTS and am running out of things to try.

The problem arises when I attempt to transfer non-english characters such as
" é ". The error message I get is ORA-01401: inserted value too large for
column.

The source is SQL Server 2000, data type is nvarchar 32. The target is
Oracle 9i, data type is char 32.

I have tested the following:
- changing the target data type to varchar - this works but is not a
realistic option
- trimming the sent data down to less than 10 characters - did not work
- using OLE-db and ODBC - did not work
- using Microsoft's and Oracle's ODBC drivers - did not work
- transferring first to a csv file then to Oracle - did not work
- transferring first to an Excel file then to Oracle - did not work
- entering a test value manually into the Oracle table using Toad - worked

I would appreciate any suggestions or insights into this problem.

Thanks,
Jeff Strickland


Re: SQL Server to Oracle data migration Jeff Strickland
11/29/2003 12:58:44 PM
Follow-up to previous message:

I used an ActiveX script in DTS to parse the string and look for ASCII
values > 127, replacing the string with a text value of "UNICODE" when true.
This allowed me to successfully copy the majority of the records into
Oracle. I then ran a SQL script against Oracle from TOAD to update values
in the unicode column with identical values stored in a varchar column.
This script produced the same "ORA-01401: inserted value too large for
column". I now believe the error may be unrelated to DTS, but is more
likely an Oracle configuration problem. If anyone has experience with
Oracle unicode configuration, I would welcome your advice.

Thanks,
jeff


[quoted text, click to view]

Re: SQL Server to Oracle data migration JoeBrain00 NO[at]SPAM cs.com
12/28/2003 6:02:00 AM
Have you tried an ETL (extraction, transformation, load) tool like
Visual Integration Studio? (http://www.crossrhoades.com)

I'm a consultant and have used this tool at hundreds of locations
mapping data between disparate data sources, you certainly can't beat
it for the price - its like DTS on steroids!

Hope that helps!

AddThis Social Bookmark Button