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


Please Help Members By Posting Answers For Below Questions

Is primary key always clustered index?

1095


what is bcp? When does it used? : Sql dba

1056


Can delete statement be rollbacked?

1054


What is the best sql course?

1050


What is the current version of sql?

1094


what are the advantages of sql ? : Sql dba

1142


Do we need to rebuild index after truncate?

1138


what is sql server agent? : Sql dba

1182


how to escape special characters in sql statements? : Sql dba

1113


how to use regular expression in pattern match conditions? : Sql dba

1113


If a cursor is open, how can we find in a pl/sql block?

1238


how many tables will create when we create table, what are they? : Sql dba

1144


Is inner join faster than left join?

1276


define sql insert statement ? : Sql dba

1098


what is schema? : Sql dba

1147