oracle问题:v_run_duration := round((sysdate - v_sysdate) * 24
来源:学生作业帮 编辑:拍题作业网作业帮 分类:数学作业 时间:2024/04/30 02:07:23
oracle问题:v_run_duration := round((sysdate - v_sysdate) * 24 * 60 * 60,0);?
意思是给v_run_duration这个变量赋值,等于 sysdate- v_sysdate的差把并转成秒,如sysdate = 2012-7-3,v_sysdate = 2012-7-2,那v_run_duration = round(( '2012-7-3' - '2012-7-2') * 24 * 60 * 60,0) = round ( 1 * 24 * 60 * 60,0) = 86400秒.其中round的作用是四舍五入到多少位,现在是0,所以四舍五入到个位,比如round( 60.237,2) 表示四舍五入到小数点第二位,所以是60.24
oracle问题:v_run_duration := round((sysdate - v_sysdate) * 24
oracle的问题 trunc((t.goods_tg_endtime - sysdate)*24*60,0) 得出是距
SELECT ROUND(TO_NUMBER(sysdate - LAST_LOGIN_TIME) * 24 ) tim
oracle里sysdate-trunc(sysdate)函数得出的值是什么意思
oracle中trunc(sysdate-1)是什么意思
oracle trunc函数 没法精确到小时 select trunc(sysdate,'hh') from dual
Oracle round函数是什么意思?怎么运用?
oracle 数据提取问题
简单的oracle问题
oracle 语句优化问题
oracle里decode函数问题
math.round()问题