Search notes:

SQL: data types

Collections

Hierarchy

The image was produced with graphviz/dot and this file.

Predefined types

The standard lists the following predefined types:

Composite types

The constructed (composite) data types can be created with one of the constructors
  • ARRAY
  • MULTISET
  • REF
  • ROW
Arrays and Multisets are also referred to as collecion types.

User defined types

A user defined type is a schema object.

See also

The special null value that is used for absent data.
A feature of SQLite is that it is not necessary to specify a data type when a table is created.
SQLite supports data types: integer, real, text, null and blob.
SQL Standard feature F382: alter column … <datatype>
Array types: feature S091
DECFLOAT data type: feature ID T076 (Optional feature with SQL:2016)
SQLite supports five data types: integer, real, text, null and blob.
Data types in SQL Server

Index