Home > Database > Mysql Tutorial > mysql创建表,默认系统当前时间

mysql创建表,默认系统当前时间

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:39:18
Original
2482 people have browsed it

mysql

CREATE TABLE tmp_webservice_sql_log (
ID INT(10) NOT NULL AUTO_INCREMENT,
SEND_DATA_TIME DATETIME DEFAULT NULL,
SEND_STATE VARCHAR(10) DEFAULT NULL,
INTER_NAME VARCHAR(100) NOT NULL,
CREATE_TIME DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
QUERY_SQL TEXT,
SEND_JSON LONGTEXT,
RETURN_JSON VARCHAR(2000) DEFAULT NULL,
SYS TINYINT(2) DEFAULT NULL,
PRIMARY KEY (ID,INTER_NAME,CREATE_TIME)
) ENGINE=INNODB AUTO_INCREMENT=343 DEFAULT CHARSET=utf8

create_time 字段和 QUERY_SQL字段SEND_JSON字段 报错

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template