Computer Science, asked by komalagrawal15092004, 9 months ago

Can I store unicode data in a non-Unicode system ?​

Answers

Answered by sudha021omar
0

Explanation:

varchar: stores actual value and does not pad with blanks

nvarchar: same as varchar

requires 1 byte of storage

requires 2 bytes of storage

char and varchar: can store up to 8000 characters

nchar and nvarchar: can store up to 4000 characters

Best suited for US English: "One problem with data types that use 1 byte to encode each character is that the data type can only represent 256 different characters. This forces multiple encoding specifications (or code pages) for different alphabets such as European alphabets, which are relatively small. It is also impossible to handle systems such as the Japanese Kanji or Korean Hangul alphabets that have thousands of characters."1

Best suited for systems that need to support at least one foreign language: "The Unicode specification defines a single encoding scheme for most characters widely used in businesses around the world. All computers consistently translate the bit patterns in Unicode data into characters using the single Unicode specification. This ensures that the same bit pattern is always converted to the same character on all computers. Data can be freely transferred from one database or computer to another without concern that the receiving system will translate the bit patterns into characters incorrectly.

Similar questions