| |
 |
|
DBA_METHOD_RESULTS view tips
Oracle Tips by Burleson Consulting |
DBA_METHOD_RESULTS
<< Return to the index
Oracle 11g makes the following comments about the DBA_METHOD_RESULTS table: "Description of method results of all types in the database"
Related notes on DBA_METHOD_RESULTS:
Column description of the DBA_METHOD_RESULTS view:OWNERDescription of DBA_METHOD_RESULTS.OWNER: "Onwer of the type" TYPE_NAMEDescription of DBA_METHOD_RESULTS.TYPE_NAME: "Name of the type" METHOD_NAMEDescription of DBA_METHOD_RESULTS.METHOD_NAME: "Name of the method" METHOD_NODescription of DBA_METHOD_RESULTS.METHOD_NO: "Method number for distinguishing overloaded method (not to be used as ID number)" RESULT_TYPE_MODDescription of DBA_METHOD_RESULTS.RESULT_TYPE_MOD: "Type modifier of the result" RESULT_TYPE_OWNERDescription of DBA_METHOD_RESULTS.RESULT_TYPE_OWNER: "Owner of the type of the result" RESULT_TYPE_NAMEDescription of DBA_METHOD_RESULTS.RESULT_TYPE_NAME: "Name of the type of the result" CHARACTER_SET_NAMEDescription of DBA_METHOD_RESULTS.CHARACTER_SET_NAME: "Character set name of the result"
DBA_METHOD_RESULTS View SourceOracle 11g's data dictionary defines the DBA_METHOD_RESULTS view using the following source query:
select u.name, o.name, m.name, m.method#,
decode(bitand(r.properties, 32768), 32768, 'REF',
decode(bitand(r.properties, 16384), 16384, 'POINTER')),
decode(bitand(rt.properties, 64), 64, null, ru.name),
decode(rt.typecode,
9, decode(r.charsetform, 2, 'NVARCHAR2', ro.name),
96, decode(r.charsetform, 2, 'NCHAR', ro.name),
112, decode(r.charsetform, 2, 'NCLOB', ro.name),
ro.name),
decode(r.charsetform, 1, 'CHAR_CS',
2, 'NCHAR_CS',
3, NLS_CHARSET_NAME(r.charsetid),
4, 'ARG:'||r.charsetid)
from sys.user$ u, sys."_CURRENT_EDITION_OBJ" o, sys.method$ m, sys.result$ r,
sys."_CURRENT_EDITION_OBJ" ro, sys.user$ ru, sys.type$ rt
where o.owner# = u.user#
and o.type# <> 10 -- must not be invalid
and o.oid$ = m.toid
and o.subname IS NULL -- get the latest version only
and m.toid = r.toid
and m.version# = r.version#
and m.method# = r.method#
and r.result_toid = ro.oid$
and ro.owner# = ru.user#
and r.result_toid = rt.toid
and r.result_version# = rt.version#
 |
If you like Oracle tuning, see the book "Oracle
Tuning: The Definitive Reference", with 950 pages of tuning tips and
scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot of Oracle tuning scripts. |
 |
 |
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|