Common Schema Collections
The common schema collections are available for all .NET Framework managed providers. ODP.NET supports the same common schema collections.
See Also:
"Common Schema Collections" in the MSDN Library
MetaDataCollections
Table A-1 is a list of metadata collections that is available from the data source, such as tables, columns, indexes, and stored procedures.
Table A-1 MetaDataCollections
Column Name | Data Type | Description |
---|---|---|
|
|
The name of the collection passed to the |
|
|
Number of restrictions specified for the named collection. |
|
|
Number of parts in the composite identifier/database object name. |
DataSourceInformation
Table A-2 lists DataSourceInformation
information which may include these columns and possibly others.
Table A-2 DataSource Information
Columns | Data Type | Description |
---|---|---|
|
|
Separator for multipart names: |
|
|
Database name: Oracle |
|
|
Database version. Note that this is the version of the database instance currently being accessed by |
|
|
A normalized DataSource version for easier comparison between different versions. For example: DataSource Version: 10.2.0.1.0 Normalized DataSource Version: 10.02.00.01.00 |
|
|
An enumeration that indicates the relationship between the columns in a |
|
|
Format for a valid identifier. |
|
|
An enumeration that specifies whether or not to treat non-quoted identifiers as case sensitive. |
|
|
A boolean that indicates whether or not the select list must contain the columns in an |
|
|
A string indicating whether or not parameter markers begin with a special character. |
|
|
The format of a parameter marker. |
|
|
Maximum length of a parameter. |
|
|
The format for a valid parameter name. |
|
|
The format of a quoted identifier. |
|
|
An enumeration that specifies whether or not to treat quote identifiers as case sensitive. |
|
|
The format for a string literal. |
|
|
An enumeration indicating the types of SQL join statements supported by the data source. |
DataTypes
Table A-3 lists DataTypes Collection information which may include these columns and possibly others.
Note:
As an example, the description column includes complete information for the TIMESTAMP
WITH
LOCAL
TIME
ZONE
data type.
Table A-3 Data Types
ColumnName | Data Type | Description |
---|---|---|
|
|
The provider-specific data type name. Example: |
|
|
The provider-specific type value. Example: |
|
|
The length of a non-numeric column or parameter. Example: |
|
|
A format string that indicates how to add this column to a DDL statement. Example: |
|
|
The parameters specified to create a column of this data type. Example: 8 |
|
|
The .NET type for the data type. Example: |
|
|
A boolean value that indicates whether or not this data type can be auto-incremented. Example: |
|
|
A boolean value that indicates whether or not this data type is the best match to values in the Example: |
|
|
A boolean value that indicates whether or not this data type is case-sensitive. Example: |
|
|
A boolean value that indicates whether or not this data type has a fixed length. Example: |
|
|
A boolean value that indicates whether or not this data type has a fixed precision and scale. Example: |
|
|
A boolean value that indicates whether or not this data type contains very long data. Example: |
|
|
A boolean value that indicates whether or not this data type is nullable. Example: |
|
|
A boolean value that indicates whether or not the data type can be used in a Example: |
|
|
A boolean value that indicates whether or not this data type can be used with the Example: |
|
|
A boolean value that indicates whether or not the data type is unsigned. |
|
|
The maximum number of digits allowed to the right of the decimal point. |
|
|
The minimum number of digits allowed to the right of the decimal point. |
|
|
A boolean value that indicates whether or not the database updates the data type every time the row is changed and the value of the column differs from all previous values. Example: |
|
|
The earliest version of the database that can be used. Example: |
|
|
A boolean value that indicates whether or not the data type can be expressed as a literal. Example: |
|
|
The prefix of a specified literal. Example: |
|
|
The suffix of a specified literal. Example: |
Restrictions
Table A-4 lists Restrictions, including the following columns.
Table A-4 Restrictions
ColumnName | Data Type | Description |
---|---|---|
|
|
The collection that the restrictions apply to. |
|
|
The restriction name. |
|
|
A number that indicates the location of the restriction. |
ReservedWords
The ReservedWords
collection exposes information about the words that are reserved by the database currently connected to ODP.NET.
Table A-5 lists the ReservedWords Collection.
Table A-5 ReservedWords
ColumnName | Data Type | Description |
---|---|---|
|
|
Provider-specific reserved words |