ODBCDataSource 表ODBCDataSource Table

ODBCDataSource 表列出了属于安装的数据源。The ODBCDataSource table lists the data sources belonging to the installation.

ODBCDataSource 表包含以下列。The ODBCDataSource table has the following columns.

Column 类型Type Key NullableNullable
数据源DataSource 标识符Identifier YY NN
组件_Component_ 标识符Identifier NN NN
描述Description 文本Text NN NN
DriverDescriptionDriverDescription 文本Text NN NN
注册Registration 整数Integer NN NN

Columns

DataSourceDataSource

数据源的内部标记名称。Internal token name for data source. 表的主键。A primary key for the table.

组件_Component_

组件表中的外部键。External key into the Component table.

2008Description

为此数据源注册的说明。The description registered for this data source. 此值不能本地化。This value cannot be localized. ODBC 数据源说明不能超过 SQL _ 最大 _ DSN _ 长度。ODBC data source descriptions cannot exceed SQL_MAX_DSN_LENGTH.

DriverDescriptionDriverDescription

可能预先存在的关联驱动程序。Associated driver which may be pre-existing. 此值不能本地化。This value cannot be localized.

报名Registration

此字段指定数据源的注册类型。This field specifies the type of registration for the data source.

常数Constant 十六进制Hexadecimal 小数Decimal 描述Description
msidbODBCDataSourceRegistrationPerMachinemsidbODBCDataSourceRegistrationPerMachine 0x0000x000 00 数据源每台计算机注册。Data source is registered per machine.
msidbODBCDataSourceRegistrationPerUsermsidbODBCDataSourceRegistrationPerUser 0x0010x001 11 数据源是按用户注册的。Data source is registered per user.

备注Remarks

序列表中的 InstallODBCRemoveODBC操作处理此表中的信息。The InstallODBC and RemoveODBC actions in sequence tables process the information in this table. 有关使用 序列表 的信息,请参阅 使用序列表For information about using sequence tables, see Using a Sequence Table.

验证Validation

ICE03ICE03
ICE06ICE06
ICE32ICE32
ICE45ICE45
ICE98ICE98