Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Databases Programming Interviews:BtrieveClipperData ModelingData StructuresDatabase AdministrationDatabase Administrator (DBA)Database AnalystDatabase DeveloperDB DevelopmentEDI/Data Integration ExpertFirebirdHierarchicalIBM DB2InformixJava DatabaseMariaDBMicrosoft Access DeveloperMongoDBMS SQL ServerMySQL ProgrammingNetworkNoSQLObject RelationalPostgrePostgreSQLProgressRDBMSRelationalSQLSQL AdministratorSQL and PL/SQLSQL Notification ServicesSQL server 2008SSRSStored ProcedureSybaseTeradata
Copyright © 2018. All Rights Reserved
MS SQL Server Interview Question:
What Are the Differences between CHAR and NCHAR in MS SQL Server?
Submitted by: AdministratorBoth CHAR and NCHAR are fixed length data types. But they have the following main differences:
* CHAR stores characters based on the code page with 1 byte per character most of the time.
* NCHAR stores characters using Unicode character set with 2 bytes per character most of the time.
* CHAR(n) specifies a length of n bytes by default.
* NCHAR(n) specifies a length of n characters by default.
Submitted by: Administrator
* CHAR stores characters based on the code page with 1 byte per character most of the time.
* NCHAR stores characters using Unicode character set with 2 bytes per character most of the time.
* CHAR(n) specifies a length of n bytes by default.
* NCHAR(n) specifies a length of n characters by default.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.