Re: importing delimited file into SQL table via c++
From: Allan Mitchell (allan_at_no-spam.sqldts.com)
Date: 01/20/05
- Next message: Allan Mitchell: "Re: BCP limit"
- Previous message: Chris Lane: "Not able to sink with Events when using an RCW around dtspkg.dll"
- In reply to: ezelasky_at_hotmail.com: "importing delimited file into SQL table via c++"
- Next in thread: ezelasky_at_hotmail.com: "Re: importing delimited file into SQL table via c++"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 Jan 2005 19:50:00 -0000
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@hotmail.com> wrote in message news:1106242618.204436.204900@c13g2000cwb.googlegroups.com... > 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! >
- Next message: Allan Mitchell: "Re: BCP limit"
- Previous message: Chris Lane: "Not able to sink with Events when using an RCW around dtspkg.dll"
- In reply to: ezelasky_at_hotmail.com: "importing delimited file into SQL table via c++"
- Next in thread: ezelasky_at_hotmail.com: "Re: importing delimited file into SQL table via c++"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|