Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-13
3
Medium Priority
?
1,144 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
1 Comment
 
LVL 32

Accepted Solution

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

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.

Question has a verified solution.

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

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

783 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