2026-03-12 20:23:15
This commit is contained in:
15
tpt/mysx.sql
Normal file
15
tpt/mysx.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
select
|
||||
n.statistic# stat#,
|
||||
n.statistic# * 8 offset,
|
||||
n.name,
|
||||
s.value,
|
||||
to_char(s.value, 'XXXXXXXXXXXXXXXX') value_hex
|
||||
from v$mystat s, v$statname n
|
||||
where s.statistic#=n.statistic#
|
||||
and lower(n.name) like lower('%&1%')
|
||||
and rownum <= &2
|
||||
/
|
||||
|
||||
Reference in New Issue
Block a user