Oracle 日期的一些简单使用

gaobailing 11 0 PDF 2020-12-17 07:12:16

1.intersect为取多个查询结果的交集; 2.查询两个基本时间段内表记录的SQL语句; select * from shengjibiao t where t.createtime between to_date(‘2009-7-26′,’yyyy-MM-dd’) and to_date(‘2009-7-29′,’yyyy-MM-dd’) –也可以用>,<,>=,<= update shengjilogin t set t.starttime=to_date(‘2009-01-02 01:02:01′,’yyyy-mm-dd hh24:mi:ss’) where t.user

用户评论
请输入评论内容
评分:
暂无评论