Here is an example of executing a package in C++ if that helps any?
http://www.sqldev.net/dts/ExecutePackage.htm
--
Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know
<ezelasky (AT) hotmail (DOT) com> wrote
Quote:
Hello:
Does anyone know of an example showing how to import a delimited text
file into SQL via the DTS api in C++??? I can get this to work from VB
but when I translate it to C++ it doesn't work, even though I get a
HRESULT that succeeded. It is so frustrating!! Short of posting the
code here, an C++ example (or link)would be helpful.
BTW - I can get the reverse to work, exporting from SQL to a delimited
file in C++.
Thanks! |