![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库(MySQL)
文章平均质量分 74
lanqilu0806
这个作者很懒,什么都没留下…
展开
-
SQL 语句 时间相减
例子: SELECT gmt_created,gmt_modified,[color=darkblue][i](unix_timestamp(gmt_modified)-unix_timestamp(gmt_created))[/i][/color] FROM book b;2009-04-01 15:53:59 · 1026 阅读 · 0 评论 -
当前日期、当前时间(条件)
[color=darkred] ★瑞星★ 10:17:09 老高,刚才执行的SQL语句,给我发一下吧!>=当前日期,你是怎么用的。我这儿用currentDate执行总是有错。 高 10:17:41 我是用的具体的时间,currentdate不能使用 高 10:18:45 gmtmodified>="2009-04-09 00:00:00" and gmtmodified=...2009-04-09 10:30:32 · 238 阅读 · 0 评论 -
MySQL 无法远程访问可能原因
1.安装MySQL时,没有选择允许远程访问; 2.防火墙阻止访问(特殊); ......2009-04-16 14:49:12 · 63 阅读 · 0 评论 -
后台报SQL Error: 1064, SQLState: 42000错误
[align=center][color=brown]后台报SQL Error: 1064, SQLState: 42000错误[/color][/align] 今天在调试程序中发现类似下面这种错误- SQL Error: 1064, SQLState: 42000- You have an error in your SQL syntax; check the manual that cor...原创 2009-04-28 14:44:51 · 305 阅读 · 0 评论 -
MySQL 插入多条记录
insert into intl_fare_recommend (ifr_id,ifr_gmt_created,ifr_gmt_modified,ifr_dep,ifr_arr,ifr_airline,ifr_route_type,ifr_amount,ifr_status) select null,now(),now(),departure_airport,arrival_airport,air...2009-06-18 21:58:40 · 90 阅读 · 0 评论