Thursday, April 11, 2013

Which are the Important Points to Note when Multilanguage Data is Stored in a Table?

Which are the Important Points to Note when Multilanguage Data is Stored in a Table?

There are two things to keep in mind while storing unicode data. First, the column must be of unicode data type (nchar, nvarchar, ntext). Second, the value must be prefixed with N while insertion. For example,

INSERT INTO table (Hindi_col) values (N’hindi data’)

(Read more here http://bit.ly/sql-interview)

No comments:

Post a Comment