Solved

How do I Reconfigure SQL Server to support double-byte characters?

Posted on 2008-10-13
3
1,098 Views
Last Modified: 2013-11-16
Hi,

I have approx. 100K records in a SQL database (2005) that was originally created for single-byte records. I now need to support double-byte characters for localization purposes, and am not sure how to extract, and recreate the database to support double-byte.

Thank you in advance,
 PM
0
Comment
Question by:PatMelzer
[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 Comments
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 22711040
You need to change data type from varchar to nvarchar, char to nchar, text to ntext (or better, nvarchar(max) )

You can do it through the SSMS gui or issue a SQL statement like:

Alter Table MyTable Alter Column MyColumn nvarchar(<number of characters>)
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

688 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