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

x
?
Solved

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

Posted on 2011-09-14
3
Medium Priority
?
422 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
[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
  • 3
3 Comments
 

Author Comment

by:SolutionsTI
ID: 36537983
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
ID: 36538061
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
ID: 36538062
I found the solution myself.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

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