易截截图软件、单文件、免安装、纯绿色、仅160KB

Oracle的时间差是什么意思?

select  sum(finish_time-create_time)  a from  tablename where
and create_time>to_date('20100101 09:30:00', 'yyyymmdd hh24:mi:ss')
and create_time <to_date('20100104 09:30:00', 'yyyymmdd hh24:mi:ss')

这个结果的单位是什么,表示什么意思
结果是0.000104166666666667怎么把这个数字化成秒或分钟,小时?
时间差表示两个时间相差的天数


参考:
SQL code:

select extract(DAY from interval)||'天'||extract(HOUR from interval)||'小时'||extract(MINUTE from interval)||'分钟'||extract(SECOND from interval)||'秒' 间隔 from (
select numtodsinterval(t.callbegin-t.callend ,'DAY') interval from tbilllog12 t where callbegin=to_date('2009-12-1 0:00:58','YYYY-MM-DD HH24:MI:SS')
)

间隔
------------------------
0天0小时0分钟-24秒
1 row selected.




------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
网上资源: http://tianlesoftware.download.csdn.net
相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
Q Q 群:62697716
{{


相关问答:

是oracle的bug么?散分了! - Oracle / 基础和管理

本来要写个update语句
update table_a A
  set A.flag=1
  where A.id in (select B.id from table_b B)
结果误写成
update table_a A
  set A.flag=1
  where ......

oracle数据库 缓冲池 - Oracle / 基础和管理

请问这个缓冲池是怎么回事啊?可以连接缓冲池利用其中的数据吧?怎么用?
这个是oracle自动做的,一般应用程序是操作不了的。

不能直接连接吗?

引用
不能直接连接吗?
不能

那缓冲池里的数据也不能查询 ......

Windows 7 怎样安装Oracle - Oracle / 基础和管理

各位大哥,帮个忙。

下个Oracle for vista 版本的安装试试
10G和11G的 
http://www.oracle.com/technology/software/products/database/index.html 
------------------------------------------- ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号