ODP.NET-Specific Schema Collection
Oracle Data Provider for .NET supports both the common schema collections described previously and the following Oracle-specific schema collections:
Tables
Table A-6 lists the column name, data type, and description of the Tables Schema Schema Collection.
Table A-6 Tables
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the Table. |
|
|
Name of the Table. |
|
|
Type of Table, for example, |
Columns
Table A-7 lists the column name, data type, and description of the Columns Schema Collection .
Table A-7 Columns
ColumnName | Data Type | Description |
---|---|---|
|
|
Owner of the table or view. |
|
|
Name of the table or view. |
|
|
Name of the column. |
|
|
Sequence number of the column as created. |
|
|
Data type of the column. |
|
|
Length of the column in bytes. |
|
|
Decimal precision for |
|
|
Digits to right of decimal point in a number. |
|
|
Specifies whether or not a column allows |
|
|
Indicates whether the column uses |
|
|
Length of the column in characters. This value only applies to |
Views
Table A-8 lists the column name, data type, and description of the Views Schema Collection.
Table A-8 Views
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the view. |
|
|
Name of the view. |
|
|
Length of the view text. |
|
|
View text. |
|
|
Length of the type clause of the typed view. |
|
|
Type clause of the typed view. |
|
|
Length of the |
|
|
|
|
|
Owner of the view type if the view is a typed view. |
|
|
Type of the view if the view is a typed view. |
|
|
Name of the superview. (Oracle9i or later) |
XMLSchema
Table A-9 lists the column name, data type and description of the XMLSchema Schema Collection.
Note:
This collection is only available with Oracle Database 10g and later.
Table A-9 XMLSchema
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the XML schema. |
|
|
Schema URL of the XML schema. |
|
|
Indicates whether the XML schema is local ( |
|
|
XML schema document. |
|
|
Internal database object name for the schema. |
|
|
Fully qualified schema URL. |
|
|
Hierarchy type for the schema. |
Users
Table A-10 lists the column name, data type and description of the Users Schema Collection.
Table A-10 Users
Column Name | Data Type | Description |
---|---|---|
|
|
Name of the user. |
|
|
ID number of the user. |
|
|
User creation date. |
Synonyms
Table A-11 lists the column name, data type and description of the Synonyms Schema Collection.
Table A-11 Synonyms
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the synonym. |
|
|
Name of the synonym. |
|
|
Owner of the object referenced by the synonym. Although the column is called |
|
|
Name of the object referenced by the synonym. Although the column is called |
|
|
Name of the database link referenced, if any. |
Sequences
Table A-12 lists the column name, data type, and description of the Sequences Schema Collection.
Table A-12 Sequences
Column Name | Data Type | Description |
---|---|---|
|
|
Name of the owner of the sequence. |
|
|
Sequence name. |
|
|
Minimum value of the sequence. |
|
|
Maximum value of the sequence. |
|
|
Value by which sequence is incremented. |
|
|
Indicates if sequence wraps around on reaching limit. |
|
|
Indicates if sequence numbers are generated in order. |
|
|
Number of sequence numbers to cache. |
|
|
Last sequence number written to disk. If a sequence uses caching, the number written to disk is the last number placed in the sequence cache. This number is likely to be greater than the last sequence number that was used. |
Functions
Table A-13 lists the column name, data type, and description of the Functions Schema Collection.
Table A-13 Functions
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the function. |
|
|
Name of the function. |
|
|
Name of the subobject (for example, partition). |
|
|
Dictionary object number of the function. |
|
|
Dictionary object number of the segment that contains the function. |
|
|
Timestamp for the creation of the function. |
|
|
Timestamp for the last modification of the function resulting from a DDL statement (including grants and revokes). |
|
|
Timestamp for the specification of the function (character data). |
|
|
Status of the function ( |
|
|
Whether or not the function is temporary (the current session can see only data that it placed in this object itself). |
|
|
Indicates whether the name of this function is system generated ( |
|
|
Whether or not this is a secondary object created by the |
Procedures
Table A-14 lists the column name, data type, and description of the Procedures Schema Collection.
Table A-14 Procedures
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the procedure. |
|
|
Name of the procedure. |
|
|
Name of the subobject (for example, partition). |
|
|
Dictionary object number of the procedure. |
|
|
Dictionary object number of the segment that contains the procedure. |
|
|
Timestamp for the creation of the procedure. |
|
|
Timestamp for the last modification of the procedure resulting from a DDL statement (including grants and revokes). |
|
|
Timestamp for the specification of the procedure (character data). |
|
|
Status of the procedure ( |
|
|
Whether or not the procedure is temporary (the current session can see only data that it placed in this object itself). |
|
|
Indicates whether the name of this procedure is system generated ( |
|
|
Whether or not this is a secondary object created by the |
ProcedureParameters
Table A-15 lists the column name, data type and description of the ProcedureParameters Schema Collection.
Table A-15 ProcedureParameters
Column Name | Data Type | 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 |
|
|
Subprogram id for the procedure or function |
|
|
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 value. |
|
|
If |
|
|
Defines the sequential order of the argument. Argument sequence starts from |
|
|
Nesting depth of the argument for composite types. |
|
|
Data type of the argument. |
|
|
Default value for the argument. |
|
|
Length of the default value for the argument. |
|
|
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. |
|
|
Displays the name of the type declared in the package identified in the Relevant only for package local types. |
|
|
Displays the database link that refers to the remote package. 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. Otherwise, |
|
|
Character limit for string data types. |
|
|
Indicates whether the byte limit ( |
Arguments
Table A-16 lists the column name, data type, and description of the Arguments Schema Collection.
Table A-16 Arguments
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the object. |
|
|
Name of the package. |
|
|
Name of the procedure or function. |
|
|
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 value. |
|
|
If |
|
|
Defines the sequential order of the argument. Argument sequence starts from |
|
|
Default value for the argument. |
|
|
Length of the default value for the argument. |
|
|
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. |
|
|
Data type of the argument. |
|
|
Indicates whether the column uses |
Packages
Table A-17 lists the column name, data type, and description of the Packages Schema Collection.
Table A-17 Packages
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the package. |
|
|
Name of the package. |
|
|
Name of the subobject (for example, partition). |
|
|
Dictionary object number of the package. |
|
|
Dictionary object number of the segment that contains the package. |
|
|
Timestamp for the creation of the package. |
|
|
Timestamp for the last modification of the package resulting from a DDL statement (including grants and revokes). |
|
|
Timestamp for the specification of the package (character data). |
|
|
Status of the package ( |
|
|
Whether or not the package is temporary (the current session can see only data that it placed in this object itself). |
|
|
Indicates whether the name of this package was system generated ( |
|
|
Whether or not this is a secondary object created by the |
PackageBodies
Table A-18 lists the column name, data type, and description of the PackageBodies Schema Collection.
Table A-18 PackageBodies
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the package body. |
|
|
Name of the package body. |
|
|
Name of the subobject (for example, partition). |
|
|
Dictionary object number of the package body. |
|
|
Dictionary object number of the segment that contains the package body. |
|
|
Timestamp for the creation of the package body. |
|
|
Timestamp for the last modification of the package body resulting from a DDL statement (including grants and revokes). |
|
|
Timestamp for the specification of the package body (character data). |
|
|
Status of the package body ( |
|
|
Whether the package body is temporary (the current session can see only data that it placed in this object itself). |
|
|
Indicates whether the name of this package body is system generated ( |
|
|
Whether or not this is a secondary object created by the |
JavaClasses
Table A-19 lists the column name, data type, and description of the JavaClasses Schema Collection.
Table A-19 JavaClasses
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the Java class. |
|
|
Name of the Java class. |
|
|
Major version number of the Java class, as defined in the JVM specification. |
|
|
Minor version number of the Java class, as defined in the JVM specification. |
|
|
Indicates whether the stored object is a Java class ( |
|
|
Accessibility of the Java class. |
|
|
Indicates whether this Java class is an inner class ( |
|
|
Indicates whether this Java class is an abstract class ( |
|
|
Indicates whether this Java class is a final class ( |
|
|
Indicates whether this Java class contains debug information ( |
|
|
Source designation of the Java class. |
|
|
Super class of this Java class. |
|
|
Outer class of this Java class if this Java class is an inner class. |
Indexes
Table A-20 lists the column name, data type, and description of the Indexes Schema Collection.
Table A-20 Indexes
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the index. |
|
|
Name of the index. |
|
|
Type of the index:
|
|
|
Owner of the indexed object. |
|
|
Name of the indexed object. |
|
|
Type of the indexed object (for example, |
|
|
Indicates whether the index is |
|
|
Indicates whether index compression is enabled ( |
|
|
Number of columns in the prefix of the compression key. |
|
|
Name of the tablespace containing the index. |
|
|
Initial number of transactions. |
|
|
Maximum number of transactions. |
|
|
Size of the initial extent. |
|
|
Size of secondary extents. |
|
|
Minimum number of extents allowed in the segment. |
|
|
Maximum number of extents allowed in the segment. |
|
|
Percentage increase in extent size. |
|
|
Threshold percentage of block space allowed per index entry. |
|
|
Column ID of the last column to be included in index-organized table primary key (non-overflow) index. This column maps to the |
|
|
Number of process freelists allocated to this segment. |
|
|
Number of freelist groups allocated to this segment. |
|
|
Minimum percentage of free space in a block. |
|
|
Logging information. |
|
|
B*-Tree level: depth of the index from its root block to its leaf blocks. A depth of |
|
|
Number of leaf blocks in the index. |
|
|
Number of distinct indexed values. For indexes that enforce |
|
|
Average number of leaf blocks in which each distinct value in the index appears, rounded to the nearest integer. For indexes that enforce |
|
|
Average number of data blocks in the table that are pointed to by a distinct value in the index, rounded to the nearest integer. This statistic is the average number of data blocks that contain rows that contain a given value for the indexed columns. |
|
|
Indicates the amount of order of the rows in the table based on the values of the index. |
|
|
Indicates whether a nonpartitioned index is |
|
|
Number of rows in the index. |
|
|
Size of the sample used to analyze the index. |
|
|
Date on which this index was most recently analyzed. |
|
|
Number of threads per instance for scanning the index. |
|
|
Number of instances across which the indexes to be scanned. |
|
|
Indicates whether the index is partitioned ( |
|
|
Indicates whether or not the index is on a temporary table. |
|
|
Indicates whether the name of the index is system generated ( |
|
|
Indicates whether the index is a secondary object created by the |
|
|
Name of the default buffer pool to be used for the index blocks. |
|
|
Indicates whether statistics were entered directly by the user ( |
|
|
Indicates the duration of a temporary table. |
|
|
For a secondary index on an index-organized table, the percentage of rows with |
|
|
For a domain index, the owner of the index type. |
|
|
For a domain index, the name of the index type. |
|
|
For a domain index, the parameter string. |
|
|
For partitioned indexes, indicates whether statistics are collected by analyzing the index as a whole ( |
|
|
Status of the domain index:
|
|
|
Status of the operation on the domain index:
|
|
|
Status of a function-based index:
|
|
|
Indicates whether the index is a join index ( |
|
|
Indicates whether redundant primary key columns are eliminated from secondary indexes on index-organized tables ( |
|
|
Indicates whether the index has been dropped and is in the recycle bin ( |
IndexColumns
Table A-21 lists the column name, data type, and description of the IndexColumns Schema Collection.
Table A-21 IndexColumns
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the index. |
|
String |
Name of the index. |
|
String |
Owner of the table or cluster. |
|
String |
Name of the table or cluster. |
|
String |
Column name or attribute of object type column. |
|
|
Position of column or attribute within the index. |
|
|
Indexed length of the column. |
|
String |
Whether the column is sorted in descending order ( |
|
|
Maximum codepoint length of the column. (Oracle9i or later) |
PrimaryKeys
Table A-22 lists the column name, data type, and description of the PrimaryKeys Schema Collection.
Table A-22 PrimaryKeys
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the constraint definition. |
|
|
Name of the constraint definition. |
|
|
Name associated with the table (or view) with constraint definition. |
|
|
Text of search condition for a check constraint. |
|
|
Owner of table referred to in a referential constraint. |
|
|
Name of the unique constraint definition for referenced table. |
|
|
Delete rule for a referential constraint ( |
|
|
Enforcement status of constraint ( |
|
|
Whether or not the constraint is deferrable. |
|
|
Whether all data obeys the constraint ( |
|
|
Whether the name of the constraint is user or system generated. |
|
|
Indicates that this constraint specifies a century in an ambiguous manner. ( To avoid errors resulting from this ambiguity, rewrite the constraint using the |
|
|
Whether an enabled constraint is enforced or unenforced. |
|
|
When the constraint was last enabled or disabled. |
|
|
Name of the user owning the index. (Oracle9i or later) |
|
|
Name of the index (only shown for unique and primary-key constraints). (Oracle9i or later) |
ForeignKeys
Table A-23 lists the column name, data type, and description of the ForeignKeys Schema Collection.
Table A-23 ForeignKeys
Column Name | Data Type | Description |
---|---|---|
|
|
Name of the constraint definition. |
|
|
Owner of the constraint definition. |
|
|
Name associated with the table (or view) with constraint definition. |
|
|
Owner of the constraint definition. |
|
|
Name of the constraint definition. |
|
|
Name associated with the table (or view) with constraint definition. |
|
|
Text of search condition for a check constraint |
|
|
Owner of table referred to, in a referential constraint. |
|
|
Name of the unique constraint definition for referenced table. |
|
|
Delete rule for a referential constraint ( |
|
|
Enforcement status of constraint ( |
|
|
Whether or not all data obeys the constraint ( |
|
|
Whether the name of the constraint is user or system generated. |
|
|
Whether an enabled constraint is enforced or unenforced. |
|
|
When the constraint was last enabled or disabled. |
|
|
Name of the user owning the index. (Oracle9i or later) |
|
|
Name of the index. (Oracle9i or later) |
ForeignKeyColumns
Table A-24 lists the column name, data type, and description of the ForeignKeyColumns Schema Collection.
Table A-24 ForeignKeyColumns
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the constraint definition. |
|
|
Name of the constraint definition. |
|
|
Name of the table with constraint definition. |
|
|
Name of the column or attribute of the object type column specified in the constraint definition. |
|
|
Original position of column or attribute in the definition of the object. |
UniqueKeys
Table A-25 lists the column name, data type, and description of the UniqueKeys Schema Collection.
Table A-25 UniqueKeys
Column Name | Data Type | Description |
---|---|---|
|
|
Owner of the constraint definition. |
|
|
Name of the constraint definition. |
|
|
Name associated with the table (or view) with constraint definition. |
|
|
Text of search condition for a check constraint. |
|
|
Owner of table referred to in a referential constraint. |
|
|
Name of the unique constraint definition for referenced table. |
|
|
Delete rule for a referential constraint ( |
|
|
Enforcement status of constraint ( |
|
|
Whether or not the constraint is deferrable. |
|
|
Whether all data obeys the constraint ( |
|
|
Whether the name of the constraint is user or system generated. |
|
|
Indicates that this constraint specifies a century in an ambiguous manner. ( To avoid errors resulting from this ambiguity, rewrite the constraint using the |
|
|
Whether an enabled constraint is enforced or not. |
|
|
When the constraint was last enabled or disabled. |
|
|
Name of the user owning the index. (Oracle9i or later) |
|
|
Name of the index (only shown for unique and primary-key constraints). (Oracle9i or later) |