ODBC 架构集合 (ADO.NET)
更新:November 2007
本节讨论对适用于 Microsoft SQL Server、Oracle 和 Microsoft Jet 的 ODBC 驱动程序的架构集合支持。
Microsoft SQL Server ODBC 驱动程序
除了通用架构集合之外,Microsoft SQL Server ODBC 驱动程序还支持下列特定的架构集合:
Tables
Indexes
Columns
Procedures
ProcedureColumns
ProcedureParameters
Views
Tables 和 Views
列名 |
数据类型 |
---|---|
TABLE_CAT |
String |
TABLE_SCHEM |
String |
TABLE_NAME |
String |
TABLE_TYPE |
String |
REMARKS |
String |
Indexes
列名 |
数据类型 |
---|---|
TABLE_CAT |
String |
TABLE_SCHEM |
String |
TABLE_NAME |
String |
NON_UNIQUE |
Int16 |
INDEX_QUALIFIER |
String |
INDEX_NAME |
String |
TYPE |
Int16 |
ORDINAL_POSITION |
Int16 |
COLUMN_NAME |
String |
ASC_OR_DESC |
String |
CARDINATLITY |
Int32 |
PAGES |
Int32 |
FILTER_CONDITION |
String |
SS_TYPE_SCHEMA |
String |
SS_DATA_TYPE |
Byte |
Columns
列名 |
数据类型 |
---|---|
TABLE_CAT |
String |
TABLE_SCHEM |
String |
TABLE_NAME |
String |
COLUMN_NAME |
String |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
COLUMN_SIZE |
Int32 |
BUFFER_LENGTH |
Int32 |
DECIMAL_DIGITS |
Int16 |
NUM_PREC_RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
COLUMN_DEF |
String |
SQL_DATA_TYPE |
Int16 |
SQL_DATETIME_SUB |
Int16 |
CHAR_OCTET_LENGTH |
Int32 |
ORDINAL_POSITION |
Int32 |
IS_NULLABLE |
String |
SS_TYPE_CATALOG |
String |
SS_TYPE_SCHEMA |
String |
SS_DATA_TYPE |
Byte |
Procedures
列名 |
数据类型 |
---|---|
PROCEDURE_CAT |
String |
PROCEDURE_SCHEM |
String |
PROCEDURE_NAME |
String |
NUM_INPUT_PARAMS |
Int32 |
NUM_OUTPUT_PARAMS |
Int32 |
NUM_RESULT_SETS |
Int32 |
REMARKS |
String |
PROCEDURE_TYPE |
Int16 |
ProcedureColumns
列名 |
数据类型 |
---|---|
PROCEDURE_CAT |
String |
PROCEDURE_SCHEM |
String |
PROCEDURE_NAME |
String |
COLUMN_NAME |
String |
COLUMN_TYPE |
Int16 |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
COLUMN_SIZE |
Int32 |
BUFFER_LENGTH |
Int32 |
DECIMAL_DIGITS |
Int16 |
NUM_PREC_RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
COLUMN_DEF |
String |
SQL_DATA_TYPE |
Int16 |
SQL_DATETIME_SUB |
Int16 |
CHAR_OCTET_LENGTH |
Int32 |
ORDINAL_POSITION |
Int32 |
IS_NULLABLE |
String |
SS_TYPE_CATALOG |
String |
SS_TYPE_SCHEMA |
String |
SS_DATA_TYPE |
Byte |
ProcedureParameters
列名 |
数据类型 |
---|---|
PROCEDURE_CAT |
String |
PROCEDURE_SCHEM |
String |
PROCEDURE_NAME |
String |
COLUMN_NAME |
String |
COLUMN_TYPE |
Int16 |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
COLUMN_SIZE |
Int32 |
BUFFER_LENGTH |
Int32 |
DECIMAL_DIGITS |
Int16 |
NUM_PREC_RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
COLUMN_DEF |
String |
SQL_DATA_TYPE |
Int16 |
SQL_DATETIME_SUB |
Int16 |
CHAR_OCTET_LENGTH |
Int32 |
ORDINAL_POSITION |
Int32 |
IS_NULLABLE |
String |
SS_TYPE_CATALOG |
String |
SS_TYPE_SCHEMA |
String |
SS_DATA_TYPE |
Byte |
Microsoft Oracle ODBC 驱动程序
除了通用架构集合之外,Microsoft SQL Server Oracle ODBC 驱动程序还支持下列特定的架构集合:
Tables
Columns
Procedures
ProcedureColumns
ProcedureParameters
Views
Indexes
Tables 和 Views
列名 |
数据类型 |
---|---|
TABLE_QUALIFIER |
String |
TABLE_OWNER |
String |
TABLE_NAME |
String |
TABLE_TYPE |
String |
REMARKS |
String |
Columns
列名 |
数据类型 |
---|---|
TABLE_QUALIFIER |
String |
TABLE_OWNER |
String |
TABLE_NAME |
String |
COLUMN_NAME |
String |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
PRECISION |
Int32 |
LENGTH |
Int32 |
SCALE |
Int16 |
RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
ORDINAL_POSITION |
Int32 |
Procedures
列名 |
数据类型 |
---|---|
PROCEDURE_QUALIFIER |
String |
PROCEDURE_OWNER |
String |
PROCEDURE_NAME |
String |
NUM_INPUT_PARAMS |
Int16 |
NUM_OUTPUT_PARAMS |
Int16 |
NUM_RESULT_SETS |
Int16 |
REMARKS |
String |
PROCEDURE_TYPE |
Int16 |
ProcedureColumns
列名 |
数据类型 |
---|---|
PROCEDURE_QUALIFIER |
String |
PROCEDURE_OWNER |
String |
PROCEDURE_NAME |
String |
COLUMN_NAME |
String |
COLUMN_TYPE |
Int16 |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
PRECISION |
Int32 |
LENGTH |
Int32 |
SCALE |
Int16 |
RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
OVERLOAD |
Int32 |
ORDINAL_POSITION |
Int32 |
Microsoft Jet ODBC 驱动程序
除了通用架构集合之外,Microsoft Jet ODBC 驱动程序还支持下列特定的架构集合:
Tables
Indexes
Columns
Procedures
ProcedureColumns
ProcedureParameters
Views
Tables 和 Views
列名 |
数据类型 |
---|---|
TABLE_QUALIFIER |
String |
TABLE_OWNER |
String |
TABLE_NAME |
String |
TABLE_TYPE |
String |
REMARKS |
String |
Columns
列名 |
数据类型 |
---|---|
TABLE_QUALIFIER |
String |
TABLE_OWNER |
String |
TABLE_NAME |
String |
COLUMN_NAME |
String |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
PRECISION |
Int32 |
LENGTH |
Int32 |
SCALE |
Int16 |
RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
ORDINAL_POSITION |
Int32 |
Procedures
列名 |
数据类型 |
---|---|
PROCEDURE_QUALIFIER |
String |
PROCEDURE_OWNER |
String |
PROCEDURE_NAME |
String |
NUM_INPUT_PARAMS |
Int16 |
NUM_OUTPUT_PARAMS |
Int16 |
NUM_RESULT_SETS |
Int16 |
REMARKS |
String |
PROCEDURE_TYPE |
Int16 |
ProcedureColumns
列名 |
数据类型 |
---|---|
PROCEDURE_QUALIFIER |
String |
PROCEDURE_OWNER |
String |
PROCEDURE_NAME |
String |
COLUMN_NAME |
String |
COLUMN_TYPE |
Int16 |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
PRECISION |
Int32 |
LENGTH |
Int32 |
SCALE |
Int16 |
RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
OVERLOAD |
Int32 |
ORDINAL_POSITION |
Int32 |
ProcedureParameters
列名 |
数据类型 |
---|---|
PROCEDURE_CAT |
String |
PROCEDURE_SCHEM |
String |
PROCEDURE_NAME |
String |
COLUMN_NAME |
String |
COLUMN_TYPE |
Int16 |
DATA_TYPE |
Int16 |
TYPE_NAME |
String |
COLUMN_SIZE |
Int32 |
BUFFER_LENGTH |
Int32 |
DECIMAL_DIGITS |
Int16 |
NUM_PREC_RADIX |
Int16 |
NULLABLE |
Int16 |
REMARKS |
String |
COLUMN_DEF |
String |
SQL_DATA_TYPE |
Int16 |
SQL_DATETIME_SUB |
Int16 |
CHAR_OCTET_LENGTH |
Int32 |
ORDINAL_POSITION |
Int32 |
IS_NULLABLE |
字符串 |