DBA Data[Home] [Help]

VIEW: SYS.DBA_ADVISOR_PARAMETERS_PROJ

Source

View Text - Preformatted

select a.task_id as task_id,
             a.name as parameter_name,
             a.value as parameter_value,
             decode(a.datatype, 1, 'NUMBER',
                                2, 'STRING',
                                3, 'STRINGLIST',
                                4, 'TABLE',
                                5, 'TABLELIST',
                                'UNKNOWN')
                 as parameter_type,
             decode(bitand(a.flags,2), 0, 'Y', 'N') as is_default,
             decode(bitand(a.flags,4), 0, 'N', 'Y') as is_output,
             decode(bitand(a.flags,8), 0, 'N', 'Y') as is_modifiable_anytime,
             decode(bitand(a.flags,16), 0, 'N', 'Y') as is_system_task_only,
             dbms_advisor.format_message(a.description) as description
      from wri$_adv_parameters a
View Text - HTML Formatted

SELECT A.TASK_ID AS TASK_ID
, A.NAME AS PARAMETER_NAME
, A.VALUE AS PARAMETER_VALUE
, DECODE(A.DATATYPE
, 1
, 'NUMBER'
, 2
, 'STRING'
, 3
, 'STRINGLIST'
, 4
, 'TABLE'
, 5
, 'TABLELIST'
, 'UNKNOWN') AS PARAMETER_TYPE
, DECODE(BITAND(A.FLAGS
, 2)
, 0
, 'Y'
, 'N') AS IS_DEFAULT
, DECODE(BITAND(A.FLAGS
, 4)
, 0
, 'N'
, 'Y') AS IS_OUTPUT
, DECODE(BITAND(A.FLAGS
, 8)
, 0
, 'N'
, 'Y') AS IS_MODIFIABLE_ANYTIME
, DECODE(BITAND(A.FLAGS
, 16)
, 0
, 'N'
, 'Y') AS IS_SYSTEM_TASK_ONLY
, DBMS_ADVISOR.FORMAT_MESSAGE(A.DESCRIPTION) AS DESCRIPTION
FROM WRI$_ADV_PARAMETERS A