Solved

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

Posted on 2013-02-04
1
335 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 39

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

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…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

861 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