您的位置:首页 > 数据库 > MySQL

mysql 建表设置时间默认值

2008-11-22 11:06 239 查看
CREATE TABLE `T_INPUTCONTENT` (
`id` int(10) NOT NULL auto_increment,
`title` varchar(40) default NULL,
`content` longtext,
`subdate` timestamp(10) default now(),
`status` varchar(10) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: