Mysql nchar Datatype
MySQL nchar define the datatype nchar that stores fixed-length character data. The data can be a string single-byte or multibyte letters, digits and symbols, that can be supported by the code set of the database locale.
Understand with Example
The Tutorial grasp you an example from 'MySQL nchar'. To understand and elaborate an example we create a table 'nchar' that has the required fieldnames and datatypes respectively.
Query for inserting data in the table:
The Query insert into is used to add the records or rows to the table nchar.
Query for viewing data of the table:
The select is used to return the records from table nchar.
Query for describing data of the table:
The Query desc is used to show the field, type, null etc of the table nchar.