Solved

How could I fix accents problems when porting a database from a DBMS to another?

Posted on 2011-09-14
3
395 Views
Last Modified: 2012-05-12
Hi experts,

I am currently moving several databases from MSSQL 2008 and IBM DB2 9.7 to PostgreSQL 9.0.3 using a commercial tool named ESF Database Migration Toolkit. This tool allows us to migrate any database from a DBMS to another in just a few clicks. It works really well and accelerates the migration process a lot.

The problem I have only occurs when migrating from MSSQL 2008 to PostgreSQL. All accents within the database are not getting transfered properly. For instance : "StÚphane" instead of "Stéphane".

It looks like a collation/locale problem, but I can't figure out what's wrong in my databases configurations.

MSSQL 2008 database information (source database)
collation : SQL_Latin1_General_CP850_CI_AI

MSSQL 2008 OS information (Windows 2008 Server R2)
Locale : English (Canada)

PostgreSQL database information (destination database)
ENCODING : UTF8
LC_COLLATE = 'English_Canada.1252'
LC_CTYPE = 'English_Canada.1252'

PostgreSQL OS information (Windows 2008 Server R2)
Locale : English (Canada)

Any thoughts? Everything works fine when porting from DB2.

Thank you
0
Comment
Question by:SolutionsTI
  • 3
3 Comments
 

Author Comment

by:SolutionsTI
Comment Utility
I need to find a way to convert my MSSQL 2008 databases to UTF8 before migrating them to PostgreSQL.

Is there any way to achieve that kind of work in MSSQL 2008? I can't find the UTF8 codeset in Microsot SQL Server Management Studio.

Thank you
0
 

Accepted Solution

by:
SolutionsTI earned 0 total points
Comment Utility
Problem is now fixed.

I changed the collation to French_CI_AI in MSSQL 2008 before migrating the database to PostgreSQL.
0
 

Author Closing Comment

by:SolutionsTI
Comment Utility
I found the solution myself.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

762 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

6 Experts available now in Live!

Get 1:1 Help Now