?
Solved

SQL Server 2008R2 international database

Posted on 2013-05-28
3
Medium Priority
?
204 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 49

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 49

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 49

Accepted Solution

by:
PortletPaul earned 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

777 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