CHAR vs VARCHAR
CHAR:
- It is a fixed length data type
- Used to store non-Unicode characters
- Occupiers 1 byte of space for each character
VARCHAR:
- It is a variable length data type
- Used to store non-Unicode characters
- Occupies 1 byte of space for each character
NCHAR vs NVARCHAR
NCHAR
- Is a fixed length data type
- Used to store Unicode characters (for example the languages Arabic, German and so on)
- Occupies 2 bytes of space for each character
NVARCHAR
- It is a variable-length data type
- Used to store Unicode characters
- Occupies 2 bytes of space for each character
Elana says:
If some one desires to be updated with latest technologies therefore he must be go to see this web
page and be up to date all the time.