zoukankan      html  css  js  c++  java
  • 创建能显示隐含参数的视图

    create or replace view show_hidden_v$parameter
    (INST_ID, NUM , NAME , TYPE , VALUE , DISPLAY_VALUE, ISDEFAULT , ISSES_MODIFIABLE , ISSYS_MODIFIABLE , ISINSTANCE_MODIFIABLE,
        ISMODIFIED , ISADJUSTED , ISDEPRECATED, DESCRIPTION, UPDATE_COMMENT, HASH)
        as
        select x.inst_id,
               x.indx + 1,
               ksppinm,
               ksppity,
               ksppstvl,
              ksppstdvl,
              ksppstdf,
              decode(bitand(ksppiflg / 256, 1), 1, 'TRUE', 'FALSE'),
              decode(bitand(ksppiflg / 65536, 3),
                     1,
                     'IMMEDIATE',
                     2,
                     'DEFERRED',
                     3,
                     'IMMEDIATE',
                     'FALSE'),
              decode(bitand(ksppiflg, 4),
                     4,
                     'FALSE',
                     decode(bitand(ksppiflg / 65536, 3), 0, 'FALSE', 'TRUE')),
              decode(bitand(ksppstvf, 7), 1, 'MODIFIED', 4, 'SYSTEM_MOD', 'FALSE'),
              decode(bitand(ksppstvf, 2), 2, 'TRUE', 'FALSE'),
              decode(bitand(ksppilrmflg / 64, 1), 1, 'TRUE', 'FALSE'),
              ksppdesc,
              ksppstcmnt,
              ksppihash
         from x$ksppi x, x$ksppcv y
    where (x.indx = y.indx);
     
    grant select on show_hidden_v$parameter to user;
  • 相关阅读:
    linux_进程管理
    Linux-日志管理
    Httpd
    Linux-源码安装包管理
    Linux-计划任务管理
    Linux-LVM管理
    Linux-系统磁盘管理
    Linux-yum工具的使用
    Linux-rpm包管理
    Linux-网络进阶管理
  • 原文地址:https://www.cnblogs.com/l10n/p/9410679.html
Copyright © 2011-2022 走看看