Difference between charnchar varchar Nvarchar in sql
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=F1ueYw5ZZus
Char, nchar, varchar, and nvarchar are all used to store text or string data in SQL. • Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarchar is the choice. Varchar stores ASCII data and should be your data type of choice for normal use. Regarding memory usage, nvarchar uses 2 bytes per character, whereas varchar uses 1 byte. • The NCHAR datatype stores fixed-length character data. • char and nchar are fixed-length which will reserve storage space for a number of characters you specify even if you don't use up all that space. • varchar and nvarchar are variable-length which will only use up spaces for the characters you store. It will not reserve storage like char or nchar. • The N in NVARCHAR means Unicode. Essentially, NVARCHAR is nothing more than a VARCHAR that supports two-byte characters • Varchar or Variable Character Field is a set of character data of indeterminate length. The term varchar refers to a data type of a field (or column) in a Database Management System which can hold letters and numbers. • UNICODE is a uniform character encoding standard. A UNICODE character uses multiple bytes to store the data in the database. This means that using UNICODE it is possible to process characters of various writing systems in one document. • CHAR is faster than VARCHAR - some times up to 50% faster. • blog link : https://rinkuchoudhary226.blogspot.co... • facebook page: https://www.facebook.com/Rc-Tech-life... • • Instagram: / rinku226choudhary • twitter: / 226rinku
#############################
