|
Posted by Erland Sommarskog on 07/05/07 22:32
Emin (emin.shopper@gmail.com) writes:
> Doesn't the client need something like SQL Management studio installed
> to use DTS or SSIS? Ideally, I'd like something where the client can
> just connect to the database using odbc or ado and do the insert as
> opposed to requiring the client to have special software installed.
You can use the BCP API from ODBC, although it may be a bigger programming
effort that you would like. Using command-line BCP is a lot simpler, but
then you need to make sure that it is on the client.
Another alternative is to build an XML document and pass that to a stored
procedure where unpack it. For 20000 rows, I would find this palatable.
Had you had two million rows, BCP would definitely have been the way to
go.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|