I'm trying to create a table in which one of the fields will be a date-time field, but I get an error, I tried many different syntax options, but the result is one. I do the request as follows:
create table dialog_1_3 ( id BIGINT PRIMARY KEY AUTO_INCREMENT, from_login varchar(32), who_login varchar(32), message varchar(8192), date_time DATETIME() );
create table dialog_1_3 ( id BIGINT PRIMARY KEY AUTO_INCREMENT, from_login varchar(32), who_login varchar(32), message varchar(8192), date_time DATETIME );
- Hardc0re