- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
5#
发表于 2014-8-6 13:27:01
SELECT dimension_column1 AS labels,CORPORATIONID AS corpId, value as currentValue,(nvl(VALUE,0)-nvl((select value from STATDBA.T_BSRunningTime where CORPORATIONID=T.CORPORATIONID and DIMENSION_COLUMN0 = 3 and DIMENSION_COLUMN1=T.DIMENSION_COLUMN1 and time=T.time-5/24/60 and ROWNUM=1),0)) as Value FROM (SELECT CORPORATIONID,DIMENSION_COLUMN1,VALUE,time, ROW_NUMBER() OVER(PARTITION BY ST.CORPORATIONID, ST.DIMENSION_COLUMN1 ORDER BY ST.TIME DESC) rowno FROM STATDBA.T_BSRunningTime ST inner join DICTDBA.DT_CORPORATION CO on ST.CORPORATIONID=CO.CORP_CODE WHERE CO.corp_code =17 AND ST.DIMENSION_COLUMN1 IN(27,53,51,32,62,3,2,37,38,31,39,21,41,36,4,34,73,35,16,29,63,30,82,43,42,94,90,89,81,71,18) AND ST.DIMENSION_COLUMN0 = 3 AND ST.TIME BETWEEN to_date('2014/08/01 22:20:00','YYYY/MM/DD HH24:MI:SS') AND to_date('2014/08/01 22:25:00','YYYY/MM/DD HH24:MI:SS') ) T WHERE rowno = 1
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------
ksedst+001c bl ksedst1 000000000 ? 104A2CD0D ?
ksedmp+0290 bl ksedst 104A2C690 ?
ssexhd+03e0 bl ksedmp 300001D15 ?
000044C0 ? 00000000
kghget_reserved_ext bl kghadd_reserved_ext FFFFFFFFFFF10C0 ? 00089A260 ?
ent+0214 ent 101F9CA14 ? 110440918 ?
FFFFFFFFFFF10C0 ?
9001000A00634F0 ?
kghgex+0534 bl kghget_reserved_ext 104D88528 ? 000000001 ?
ent 1105D2DA8 ? 000000168 ?
000000001 ?
kghfnd+0584 bl kghgex 7000001BC470430 ? 0000009A4 ?
000000001 ? 110000FF8 ?
000000001 ? 7000000100EDC68 ?
FFFFFFFFFFF12F0 ?
kghalo+0a24 bl kghfnd 104A25EA0 ? 11022AC50 ? |
|