Collections:
Difference between CHAR and NCHAR in MySQL
What Are the Differences between CHAR and NCHAR in MySQL?
✍: FYIcenter.com
Both CHAR and NCHAR are fixed length string data types. But they have the following differences:
The following column definitions are the same:
CREATE TABLE faq (Title NCHAR(80)); CREATE TABLE faq (Title NATIONAL CHAR(80)); CREATE TABLE faq (Title NATIONAL CHARACTER(80)); CREATE TABLE faq (Title CHAR(80) CHARACTER SET utf8); CREATE TABLE faq (Title CHARACTER(80) CHARACTER SET utf8);
⇒ Difference between CHAR and VARCHAR in MySQL
⇐ Character String Data Types in MySQL
2018-01-19, 3115🔥, 0💬
Popular Posts:
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...
What Happens If the UPDATE Subquery Returns Multiple Rows in MySQL? If a subquery is used in a UPDAT...
How To Convert Binary Strings into Integers in SQL Server Transact-SQL? Binary strings and integers ...
How To Enter Unicode Character String Literals in SQL Server Transact-SQL? Unicode characters are mu...
How To Find Out What Privileges a User Currently Has in Oracle? Privileges granted to users are list...