Home > Database > Mysql Tutorial > body text

mysql怎么插入date类型数据

WBOY
Release: 2016-06-06 09:35:35
Original
2745 people have browsed it

mysql

为什么这样插入 插入不进去啊?
birth设置的数据类型是 date
mysql> insert into myemp(id,name,job,birth)
-> values(1002,'martha','analyst'.'1989-10-01');

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template