INF: ScriptPkg Tool Generates DTS Object Model Code to Help Use DTS Programmatically (239454)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q239454 SUMMARY
The ScriptPkg tool generates a script for a given Data Transformation Server (DTS) package to help use the DTS object model programmatically. The ScriptPackage tool is contained in the DTSDemo.exe file on \DevTools\Samples\DTS folder SQL Server 7.0 CD.
One quick way to verify whether an OLE DB provider or ODBC driver works with DTS is to use DTS Wizards to create and save a package that imports or exports data involving that provider or driver. After you have saved a working package in SQL Server, you can use the ScriptPkg tool to script the package to a text file. The script generated by this tool gives you code examples that you can use in your application to manipulate DTS object model.
This tool is especially useful for data sources for which OLE DB provider properties are not documented, such as the DTSFlatFile provider for importing/exporting text files. The tools can also be used to help troubleshoot connection string problems with ODBC drivers and OLE DB providers.
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbDatabase kbinfo KB239454 |
---|
|