sysdata为当前系统日期:
select to_char(sysdate,'D') from dual; 当前日期为这周的第几天,周日为第一天
select to_char(sysdate,'DD') from dual; 当前日期为这月的第几天
select to_char(sysdate,'DDD') from dual; 当前日期为这年的第几天
假设当前日期为2014-12...
分类:
数据库 时间:
2014-12-23 19:34:25
阅读次数:
304
select rownum, t3.* from (select count(*) from (select * from TRIPINFO t where t.starttime between 20130905...
分类:
数据库 时间:
2014-12-22 16:02:52
阅读次数:
259
MVD206六屏扩展仪1.支持一个dual link DVI or Displayport 输入,最大输入时钟频率330Mhz。2.输出接口支持DVI-I 支持VGA和DVI 输出3.灵活的输出方式 2x1,3x1,4x1,5x1,6x1,2x2,2x3,1x2,1x3,1x4,1x5,1x6,3x...
分类:
其他好文 时间:
2014-12-22 10:43:38
阅读次数:
206
SQL> SELECT 666.88,CEIL(666.88),FLOOR(666.88) FROM dual; 666.88 CEIL(666.88) FLOOR(666.88)---------- ------------ ------------- 666.88 667 666CEILretu...
分类:
其他好文 时间:
2014-12-21 16:37:53
阅读次数:
141
例1:SELECT 1 order2 FROM dualunion all SELECT 3 order2 FROM dual union all SELECT 2 order1 FROM dual order by 1 order by 是针对整个集合的排队,o...
分类:
其他好文 时间:
2014-12-19 20:32:43
阅读次数:
155
代码一: /*!Math.uuid.js (v1.4) http://www.broofa.com mailto:robert@broofa.com Copyright (c) 2010 Robert Kieffer Dual licensed under the MIT and GPL lic.....
分类:
编程语言 时间:
2014-12-19 10:00:48
阅读次数:
557
环境:Oracle 10g,11g问题重现:PL/SQL中命令窗口下,发现存储过程得到的时间格式不符合预期要求。SQL> select sysdate from dual;SYSDATE-----------2014-12-18Executed in 0 secondsSQL> set server...
分类:
数据库 时间:
2014-12-18 22:08:01
阅读次数:
295
cookie 封装js/*** Cookie plugin** Copyright (c) 2006 ziqiu.zhang * Dual licensed under the MIT and GPL licenses:* http://www.opensource.org/licenses/mit...
分类:
其他好文 时间:
2014-12-18 11:38:56
阅读次数:
241
Oracle的取整和四舍五入函数——floor,round,ceil,trunc使用说明FLOOR——对给定的数字取整数位SQL> select floor(2345.67) from dual;FLOOR(2345.67)--------------2345CEIL-- 返回大于或等于给出数字的最...
分类:
数据库 时间:
2014-12-17 12:31:18
阅读次数:
247
select 'http://localhost:50476/auth/logon?u=user' || chr(ascii('&')) || 'p=8888' from dual;
分类:
数据库 时间:
2014-12-13 15:00:02
阅读次数:
164