Skip to Main Content
  • Questions
  • Dictionary view that lists the stored procedure parameters

Breadcrumb

Question and Answer

Tom Kyte

Thanks for the question.

Asked: August 20, 2007 - 9:05 am UTC

Last updated: September 14, 2009 - 11:11 am UTC

Version: 10.2.0.3

Viewed 10K+ times! This question is

You Asked

Hi Tom,
Is there a dictionary view or a procedure that would list the parameters with types for all user defined stored procedure in packages.

Thanks
Krithika

and Tom said...

*_ARGUMENTS

ops$tkyte%ORA10GR2> desc all_arguments
 Name                                      Null?    Type
 ----------------------------------------- -------- ----------------------------
 OWNER                                     NOT NULL VARCHAR2(30)
 OBJECT_NAME                                        VARCHAR2(30)
 PACKAGE_NAME                                       VARCHAR2(30)
 OBJECT_ID                                 NOT NULL NUMBER
 OVERLOAD                                           VARCHAR2(40)
 SUBPROGRAM_ID                                      NUMBER
 ARGUMENT_NAME                                      VARCHAR2(30)
 POSITION                                  NOT NULL NUMBER
 SEQUENCE                                  NOT NULL NUMBER
 DATA_LEVEL                                NOT NULL NUMBER
 DATA_TYPE                                          VARCHAR2(30)
 DEFAULT_VALUE                                      LONG
 DEFAULT_LENGTH                                     NUMBER
 IN_OUT                                             VARCHAR2(9)
 DATA_LENGTH                                        NUMBER
 DATA_PRECISION                                     NUMBER
 DATA_SCALE                                         NUMBER
 RADIX                                              NUMBER
 CHARACTER_SET_NAME                                 VARCHAR2(44)
 TYPE_OWNER                                         VARCHAR2(30)
 TYPE_NAME                                          VARCHAR2(30)
 TYPE_SUBNAME                                       VARCHAR2(30)
 TYPE_LINK                                          VARCHAR2(128)
 PLS_TYPE                                           VARCHAR2(30)
 CHAR_LENGTH                                        NUMBER
 CHAR_USED                                          VARCHAR2(1)


Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

column Global_Stats in the view %_Tab_Columns

Yogesh Purabiya, September 10, 2009 - 6:24 am UTC

What is the meaning / purpose / usage of the column "Global_Stats" in the data-dictionary views "%_Tab_Columns" ?
Tom Kyte
September 14, 2009 - 11:11 am UTC

documentation can be so very illuminating sometimes...


http://docs.oracle.com/docs/cd/E11882_01/server.112/e10820/statviews_2103.htm#REFRN20277


GLOBAL_STATS  VARCHAR2(3)     For partitioned tables, indicates whether column statistics were collected for the table as a whole (YES) or were estimated from statistics on underlying partitions and subpartitions (NO)

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library