查看數據庫所有參數腳本

--File name : param.sql
--Purpose : View the description, session value and instance value of an explicit/implicit parameter

set pagesize 9999 linesize 300
col Parameter for a50 
col ksppdesc for a100 
col Session_Value for a10 
col Instance_Value for a10
select a.ksppinm  "Parameter",
       a.ksppdesc,
       b.ksppstvl "Session_Value",
       c.ksppstvl "Instance_Value"
  from x$ksppi a, x$ksppcv b, x$ksppsv c
 where a.indx = b.indx
   and a.indx = c.indx
   and a.ksppinm = '&nam';
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章