首页 > 数据库 > Oracle > test-scn-10g
col name for a30;
col value for a10;
select
x.ksppinm name,
y.ksppstvl value,
y.ksppstdf isdefault,
decode(bitand(y.ksppstvf,7),1,'MODIFIED',4,'SYSTEM_MOD','FALSE') ismod,
decode(bitand(y.ksppstvf,2),2,'TRUE','FALSE') isadj
from
sys.x$ksppi x,
sys.x$ksppcv y
where
x.inst_id = userenv('Instance') and
y.inst_id = userenv('Instance') and
x.indx = y.indx and x.ksppinm ='_max_reasonable_scn_rate'
order by
translate(x.ksppinm, ' _', ' ')
/
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30336782/viewspace-2749765/ ,如需转载,请注明出处,否则将追究法律责任。