Solved

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

Posted on 2011-09-14
3
418 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

636 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