Drivers for other ODBC Subscriber types must conform to the Microsoft® SQL Server™ replication requirements for generic ODBC Subscribers. The ODBC driver:
ODBC drivers and OLE DB providers for various heterogeneous data sources are included on the SQL Server compact disc. For information about a complete list of the ODBC drivers and OLE DB providers, see Driver Support for Heterogeneous Data Sources.
SQL Server replication can use OLE DB interfaces to execute SQL statements at Subscribers using the ICommand interface. OLE DB providers must support these objects for transactional replication:
The following interfaces are required to connect to a data source:
If the provider supports the IDBInfo interface, SQL Server uses the interface to retrieve information such as the quoted identifier character, maximum SQL statement length, and maximum number of characters in table and column names.
The following interfaces are required:
The following interfaces are required:
IAccessor is necessary to create parameter accessors. If the provider supports IColumnRowset, SQL Server uses that interface to determine whether a column is an identity column.
The following interfaces are required:
An application should open a rowset on a replicated table that is created in the subscribing database. IColumnsInfo and IAccessor are needed to access data in the rowset.
Use the following interfaces to manage errors:
Use ISQLErrorInfo if it is supported by the OLE DB provider.
For more information about the OLE DB provider, see the documentation supplied with your OLE DB provider.
Note The primary source of information regarding the use of OLE DB is the OLE DB Programmer’s Reference Version 2.0 available with the OLE DB Software Development Kit (SDK).