SQL Data Type - NCHAR (NATIONAL CHARACTER)

About

NATIONAL CHAR is a SQL data type that:

Example

A create table statement that creates:

  • a table named NCHAR
  • with a column named NCHAR that has:
    • a NCHAR data type
    • and a maximum length of 300.
-- Thanks to the double quote, we can use the name of the data type as name for the table and the column 
create table "NCHAR" (
  "NCHAR" NCHAR(300)
);

Powered by ComboStrap