Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/25/2017 in Posts

  1. Все зависит от типа столбца, вот примеры: Структура таблицы CREATE TABLE IF NOT EXISTS `test` ( `d1` date NOT NULL, `d2` datetime NOT NULL, `d3` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `d4` time NOT NULL, `d5` year(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; Заносим данные INSERT INTO `dbtest`.`test` (`d1`, `d2`, `d3`, `d4`, `d5`) VALUES ('2017-08-25', '2017-08-25 00:00:00', CURRENT_TIMESTAMP, '00:00:00', '2017');
    1 point
This leaderboard is set to Kiev/GMT+02:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy