INFO: Cannot Use OSP Data Providers with SQL DTS

ID: Q242260


The information in this article applies to:
  • OLE DB Simple Provider Toolkit, versions 1.5, 2.0
  • Microsoft SQL Server version 7.0


SUMMARY

The OLE DB Simple Provider (OSP) Toolkit is geared toward making simple OLE DB data providers. It basically exposes core OLE DB interfaces and capabilities. The default implementation of such a simple OLE DB data provider will not work with the Data Transformation Services (DTS) provided by SQL Server 7.0.

This article describes the limitation of using the OSP data providers with DTS in SQL Server 7.0.


MORE INFORMATION

In order to use any OLE DB provider with DTS through the DTS Designer and DTS Wizard, the following OLE DB interfaces must be implemented in the Data Provider:


   IDBInitialize 
   IDBProperties 
   IDBCreateSession 
   ISessionProperties 
   IDBInfo 
   IColumnsInfo 
   IRowset 
   IAccessor 
   IOpenRowset 
   IDBSchemaRowset 
   ITransactionJoin: If using transactions across steps 
However, the OSP Toolkit does not expose the following Extended OLE DB interfaces that must be supported when using DTS:

   IDBInfo
   IDBSchemaRowset
   ITransactionJoin 


In order to use your OLE DB provider within the Data Transformation Services, you should consider building an OLE DB provider using Microsoft Visual C++ rather than with the OSP interfaces. Although writing providers with Microsoft Visual C++ involves a greater development effort, the providers you write will provide you with greater extensibility and a richer set of OLE DB data manipulation routines.


REFERENCES

For additional information, please click the article number(s) below to view the article(s) in the Microsoft Knowledge Base:

Q241241 INF: Using DTS With Custom ATL OLE-DB Providers
Q185822 INFO: Creating Robust OLE DB Providers with OSP
For additional documentation, use the following references:

  • "Supported OLE DB Interfaces" in the OSP Toolkit documentation in Data Access SDK.


  • The Visual Basic Documentation


  • (c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Ammar Abuthuraya, Microsoft Corporation.

    Additional query words: kbOLEDB kbOSP kbSQLServ700 kbdsupport kbdatabase

    Keywords : kbDatabase kbOLEDB kbOSP kbProvider kbSQLServ700 kbGrpVCDB kbDSupport
    Version : WINDOWS:1.5,2.0; winnt:7.0
    Platform : WINDOWS winnt
    Issue type : kbinfo


    Last Reviewed: October 1, 1999
    © 2000 Microsoft Corporation. All rights reserved. Terms of Use.