adspace
what are the differences between char and nchar? : Sql dba
Answer Posted / Akshita Mishra
Both CHAR and NCHAR are used to store strings in SQL DBA, but they differ in how they handle multi-byte characters:
- CHAR stores single-byte characters only (ASCII, ISO-8859-1, etc.). It pads spaces for fixed length.
- NCHAR stores Unicode characters and is intended to be used with national character sets. It also has a fixed length but does not pad spaces.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is primary key always clustered index?
what is bcp? When does it used? : Sql dba
Can delete statement be rollbacked?
What is the best sql course?
What is the current version of sql?
what are the advantages of sql ? : Sql dba
Do we need to rebuild index after truncate?
what is sql server agent? : Sql dba
how to escape special characters in sql statements? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
how many tables will create when we create table, what are they? : Sql dba
Is inner join faster than left join?
define sql insert statement ? : Sql dba
what is schema? : Sql dba