Mega Code Archive

 
Categories / MySQL / Data Type
 

DATETIME

mysql> mysql> mysql> CREATE TABLE employee(     ->     id INT,     ->     startDate DATETIME     -> ); Query OK, 0 rows affected (0.00 sec) mysql> mysql> drop table employee; Query OK, 0 rows affected (0.00 sec)