Solved

SQL Server 2008R2 international database

Posted on 2013-05-28
3
199 Views
Last Modified: 2013-06-01
Hi,
      I have been tasked with adding international characters support to our database. The first language will be Polish but other non-ASCII languages are soon to come. I have been combing the web for best practices and found nothing. Our application is written in Java. What is the best way to go about adding multi-byte characters to our databases?
0
Comment
Question by:hnaylor4
[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
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39203492
You will need to routinely use nvarchar (instead of varchar) and you need to consider the collation I believe SQL_Latin1_General_CP1_CI_AS is the most widely used (certainly its the collation I've seen most used with java based applications).

What is the collation of the db now?
Are you using varchars (in tables and in sql code)?
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39203494
oh, and allow more string length in fields too. For example if you have a field now that permits 100 chars (ascii) then that can be up to 3 times that length when using UTF8 (most noticed in my experience with asian languages).
0
 
LVL 48

Accepted Solution

by:
PortletPaul earned 500 total points
ID: 39203507
this Microsoft document is dated Jan 2008 and applies to sql 2005, but most of it should also be relevant to sql 2008:

http://download.microsoft.com/download/d/9/4/d948f981-926e-40fa-a026-5bfcf076d9b9/SQL_bestpract_MigrationToUnicode.docx
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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