摘要: unix_to_oracle:create or replace function unix_to_oracle(in_number NUMBER) return date is beginreturn(TO_DATE('19700101','yyyymmdd') + in_number/86400 +TO_NUMBER(SUBSTR(TZ_OFFSET(sessiontimezone),1,3))/24);end unix_to_oracle;oracle_to_unix:create or replace function oracle_to_unix(in 阅读全文
posted @ 2011-06-29 11:15 appleying 阅读(426) 评论(1) 推荐(0) 编辑
摘要: 按5分钟统计:select to_char((trunc(sysdate) + trunc((unix_to_oracle(C700000006) - trunc(sysdate)) * 24 * 60 / 5-1) * 5 / 60 / 24), 'yyyy-mm-dd hh24:mi') || '-' || to_char((trunc(sysdate) + trunc((unix_to_oracle(C700000006) - trunc(sysdate)) * 24 * 60 / 5 ) * 5 / 60 / 24), 'hh24:mi' 阅读全文
posted @ 2011-06-29 11:13 appleying 阅读(1409) 评论(0) 推荐(0) 编辑
摘要: Q:为神马Itinerary一开始有数据,随便点点之后什么都没有了?A:因为下面的按钮写着cancel。。。不懂英语的后果。。。Q:怎么样才能让Itinerary有数据呢?A:点击flights进入订票,点三次continue。不订哪有数据呢。不懂英文的后果。。。Q:service download?A:多试几次就好了,看人品。。。继续小白问题:Q:使用loadrunner 录制时,出现ie停止工作问题,无法录制?A:因为装了多个浏览器?可能是吧。internet 选项 ->高级->浏览:不选中“启用第三方浏览器扩展”,不选中。。就是不勾。。。结果会导致其他的一些IE工具不能使用 阅读全文
posted @ 2011-06-23 11:27 appleying 阅读(230) 评论(0) 推荐(0) 编辑
摘要: update table_name set A.c1=B.c1,A.c2=B.c2... from table_name A,table_name B where A.id='45223' and B.id='154156132'update T608 set (c890020031,c890020032)= (select count(c800020019),'1' from t608 where c800020019='1363' ) where c800020019='136' 阅读全文
posted @ 2011-04-21 10:41 appleying 阅读(270) 评论(1) 推荐(0) 编辑
摘要: HTML中td元素的nowrap属性表示禁止单元格中的文字自动换行。但使用时要注意的是,td元素中nowrap属性的行为与td元素的width属性有关。如果未设置td宽度,则nowrap属性起作用的,如果设置了td宽度,则nowrap属性不起作用。 阅读全文
posted @ 2011-04-11 17:20 appleying 阅读(242) 评论(0) 推荐(0) 编辑
摘要: //创建序列create sequence t_seqincrement by 1 start with 100 maxvalue 999999;//创建触发器create trigger t_trigger before insert on t for each rowbeginselectt_seq.nextval into :new.id from dual;//id需要自增的序列end; 阅读全文
posted @ 2011-03-31 16:26 appleying 阅读(173) 评论(0) 推荐(0) 编辑