Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-02-04
1
Medium Priority
?
348 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

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 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.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

721 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