DBA_ARGUMENTS
lists the arguments of the procedures and functions that are available in the database. Its columns are the same as those in ALL_ARGUMENTS
.
· ALL_ARGUMENTS
lists the arguments of the procedures and functions that are accessible to the current user.
· USER_ARGUMENTS
lists the arguments of the procedures and functions that are owned by the current user. This view does not display the OWNER
column.
Column | Datatype | NULL | Description |
|
|
| Owner of the object |
|
| | Name of the procedure or function |
|
| | Name of the package |
|
|
| Object number of the object |
|
| | Indicates the nth overloading ordered by its appearance in the source; otherwise, it is NULL. |
|
| | Unique subprogram identifier |
|
| | If the argument is a scalar type, then the argument name is the name of the argument. A null argument name is used to denote a function return. If the function return or argument is a composite type, this view will have one row for each attribute of the composite type. Attributes are recursively expanded if they are composite. The meanings of
· Return type, if · The argument that appears in the argument list if · Attribute name of the composite type if · A collection element type if |
|
|
| If |
|
|
| Defines the sequential order of the argument and its attributes. Argument sequence starts from 1. Return type and its recursively expanded (preorder tree walk) attributes will come first, and each argument with its recursively expanded (preorder tree walk) attributes will follow. |
|
|
| Nesting depth of the argument for composite types |
|
| | Datatype of the argument |
|
| | Specifies whether or not the argument is defaulted |
|
| | Reserved for future use |
|
| | Reserved for future use |
|
| | Direction of the argument: · · · |
|
| | Length of the column (in bytes) |
|
| | Length in decimal digits ( |
|
| | Digits to the right of the decimal point in a number |
|
| | Argument radix for a number |
|
| | Character set name for the argument |
|
| | Owner of the type of the argument |
|
| | Name of the type of the argument. If the type is a package local type (that is, it is declared in a package specification), then this column displays the name of the package. |
|
| | Relevant only for package local types. Displays the name of the type declared in the package identified in the |
|
| | Relevant only for package local types when the package identified in the |
|
| | For numeric arguments, the name of the PL/SQL type of the argument. Null otherwise. |
|
| | Character limit for string datatypes |
|
| | Indicates whether the byte limit ( |
Note:
1. Query example of DBA_ARGUMENTS:
select owner, object_name, package_name, argument_name, position,
sequence, data_type, in_out, pls_type, char_length
from DBA_ARGUMENTS where owner = 'MDSYS' and object_name = 'DECODE';
OWNER | OBJECT_ NAME | PACKAGE_ NAME | ARGUMENT_ NAME | POSITION | SEQUENCE | DATA_TYPE | IN_ OUT | PLS_TYPE | CHAR_ LENGTH |
MDSYS | DECODE | MD1 | | 0 | 1 | RAW | OUT | RAW | 0 |
MDSYS | DECODE | MD1 | HHCODE | 1 | 2 | RAW | IN | RAW | 0 |
MDSYS | DECODE | MD1 | DIMENSION_NUM | 2 | 3 | BINARY_INTEGER | IN | BINARY_INTEGER | 0 |
MDSYS | DECODE | SDO | | 0 | 1 | RAW | OUT | RAW | 0 |
MDSYS | DECODE | SDO | HHCODE | 1 | 2 | RAW | IN | RAW | 0 |
MDSYS | DECODE | SDO | DIMENSION_NUM | 2 | 3 | BINARY_INTEGER | IN | BINARY_INTEGER | 0 |
Oracle data dictionary views
Oracle dynamic performance views
No comments:
Post a Comment