
MySQL
iteye_15243
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp
Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp 解决办法: 1) 配置URL jdbc:mysql://127.0.0.1:3306/test?zeroDateTimeBehavior=convertToNull 2) 需要转换为long使用 public static lon...原创 2014-01-21 23:25:01 · 151 阅读 · 0 评论 -
Insert Into, Insert Ignore, Replace Into, Insert & Update
CREATE TABLE `test` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(50) DEFAULT NULL, `age` int(11) DEFAULT NULL, `gold` int(11) DEFAULT '0', PRIMARY KEY (`uid`), UNIQUE KE...原创 2014-05-20 20:44:06 · 141 阅读 · 0 评论