Oracle中时间段转换
2014-01-09 09:58
246 查看
问题描述:
表A中字段dtende是时间类型的,将一天24小时分成三个时间段08:30-16:30、16:30-00:30、00:30-08:30,就拿今天(2014年1月9号)来说,如果dtende是今天00:00:00-00:29:00,那么就将dtende改为2014年1月8号(以上时间段内,天数前推一天),其它时间段的时间就显示dtende。
表A中字段dtende是时间类型的,将一天24小时分成三个时间段08:30-16:30、16:30-00:30、00:30-08:30,就拿今天(2014年1月9号)来说,如果dtende是今天00:00:00-00:29:00,那么就将dtende改为2014年1月8号(以上时间段内,天数前推一天),其它时间段的时间就显示dtende。
相关文章推荐
- redhat5 虚拟机安装oracle11 R2
- java将日期时间字符串转成日期插入到oracle的date字段
- Oracle Database Architecture
- oracle的RAID区别使用
- 有用的Oracle SQL语句
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- ORACLE EXPDP命令使用
- Oracle 中实现 Membership 机制
- Oracle 中使用 ObjectDataSource 读取强类型 DataSet 数据集
- ODP.NET 之访问 Oracle 数据库
- ODT .NET 详解之 SqlDataSource 访问 Oracle
- Oracle 插入数据