DATE (with time portion)

Overview

See DATETIME.

See also: Data Types in 10.6 ES, in 10.5 ES, and in 10.4 ES

EXAMPLES

SET sql_mode='oracle';

CREATE TABLE date_example (
  example DATE
);
SHOW CREATE TABLE date_example\G
*************************** 1. row ***************************
       Table: date_example
Create Table: CREATE TABLE "date_example" (
  "example" datetime DEFAULT NULL
)

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES