Solved

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

Posted on 2013-02-04
1
336 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 500 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ticket bloat 3 70
Migrating files on WS2003SP2 to Azure File Share 7 59
SQL Server maintenance plan 8 54
T-SQL: I need to add an index on a field 5 20
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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