oracle笔记3--oracle日期的处理
来源:互联网 发布:淘宝导航分割线代码 编辑:程序博客网 时间:2024/05/15 02:26
oracle中队日起的处理:
oracle sql日期比较:在今天之前:原文地址:<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select * from up_date where update < to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')select * from up_date where update <= to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')在今天只后:<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select * from up_date where update > to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')select * from up_date where update >= to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')精确时间:<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select * from up_date where update = to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')在某段时间内:<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select * from up_date where update between to_date('2007-07-07 00:00:00','yyyy-mm-dd hh24:mi:ss') and to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')select * from up_date where update < to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss') and update > to_date('2007-07-07 00:00:00','yyyy-mm-dd hh24:mi:ss')select * from up_date where update <= to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss') and update >= to_date('2007-07-07 00:00:00','yyyy-mm-dd hh24:mi:ss')
http://www.blogjava.net/forker/archive/2007/09/07/143467.html
更多更详细关于日起的处理见:
http://chengyue2007.iteye.com/blog/802885
- oracle笔记3--oracle日期的处理
- Oracle 日期的处理
- oracle处理日期的技巧
- oracle 日期方面的处理
- Oracle数据库日期的处理
- Oracle学习笔记:日期型处理(Date)。
- java/oracle日期处理
- ORACLE日期处理大全
- ORACLE日期处理大全
- oracle处理日期大全
- oracle处理日期大全
- 关键字: oracle 日期处理
- oracle 日期处理大全
- oracle 日期处理
- oracle sql 日期处理
- java/oracle日期处理
- java/oracle日期处理
- Oracle日期处理
- wordpress文章特色图片功能详解
- 每个苦逼的设计师背后都有一群指点江山的神
- Oracle split(分隔字符串函数)
- 各种位运算符
- 黑马程序员之交通灯系统分析学习
- oracle笔记3--oracle日期的处理
- 深入理解c语言——char的范围为什么是-128到127而不是-127到127
- LINQ基本语法及其示例
- 十个顶级的C语言资源助你成为优秀的程序员
- php生成xml
- java学习之编译时类型和运行时类型
- 用户空间使用Linux 数据结构系列导读篇
- 通过对URL判断,检测引用的文件是否存在
- 【解决问题】Gallery中外框和内框冲突的问题