Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

SQL Server 2008R2 international database

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
hnaylor4
Asked:
hnaylor4
  • 3
1 Solution
 
PaulCommented:
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
 
PaulCommented:
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
 
PaulCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now