SQL Server with Mr. Denny

Nov 26 2007   7:35AM GMT

Should I be using uni-code data types?

Denny Cherry Denny Cherry Profile: Denny Cherry

Tags:
DNS
Firewalls
Reporting
Wireless

The path that Microsoft is going says yes.  They are moving all there samples and defaults to using uni-code.  In reality uni-code may not be needed in your environment.  If you are storing only Latin characters (the US alphabet characters) then you probably don’t need to store uni-code characters.  However if you are planning on moving your operations to support customers who do not speak English then you will want to setup your database and application to use the uni-code data types (nvarchar, nchar, ntext).

It doesn’t take much extra to use uni-code data types, however do keep in mind that it does require more disk space to use uni-code data types.  For each character saved two bytes of disk space are used instead of one byte.  While this may not seam like much space if you will have a large table with a large ntext field this can use a lot of space quickly.

Denny

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: