Solved

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

Posted on 2013-02-04
1
327 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
Comment Utility
"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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now