📜  char varchar nvarchar sql 代码示例

📅  最后修改于: 2022-03-11 15:05:04.506000             🧑  作者: Mango

代码示例1
1. char - is the SQL-92 synonym for character. Data is padded with blanks/spaces to fill the field size. Fixed length data type.
2. nchar - is the SQL-92 synonym for national char and national character. Fixed length data type.
3. varchar - is the SQL-92 synonym for character varying. Variable length data type.
4. nvarchar - is the SQL-92 synonym for national char varying and national character varying. Variable length data type.