Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL 2000 DTS Package fails copying 'ß' from Informix database

Posted on 2013-02-04
1
Medium Priority
?
351 Views
Last Modified: 2013-03-11
I have a SQL 2000 Server running a DTS package that pulls data from an Informix database that recently began failing.  Tracking this down it appears that when it was copying an Informix record that had the characters 'ß' in in the DTS package would fail.  Eliminated these characters on the Informix side and the package executes as it should.

The SQL Server is using the SQL_Latin1_General_CP1_CI_AI collation.

When I do a cast using the following query (the table column is varchar (50) so I used that in the query) the result is as expected as seen below:

Select cast ('ß' as varchar(50)) collate SQL_Latin1_General_CP1_CI_AS

Result:

ß

Does the DTS package need to have parameters added to correctly handle this?

Also, I have a SQL 2005 Server development server that can access the Informix datbase and pull this data with no problem.

The server is slated for replacement within the next two months with 2005 or 2008 but I need to keep this running until then.

Thanks for any assistance.
0
Comment
Question by:dmbishop
1 Comment
 
LVL 40

Accepted Solution

by:
lcohan earned 1500 total points
ID: 38852706
"the table column is varchar (50)"

In my opinion that IS the problem as most likely those characters 'ß' from Informix are either UTF8 double byte or maybe even some UNICODE that cannot fit in varchar but Nvarchar.

Please see diuffs between VARCHAR and nVARCHAR in SQL docs.

http://stackoverflow.com/questions/144283/what-is-the-difference-between-varchar-and-nvarchar

Also check the data type in DEV vs PROD server table on that same column.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

972 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