The information in this article applies to:
SUMMARYThis article discusses the use of dbbcmd to enable the use of the Bulk Copy Program (BCP) to use BCP IN functionality through an Open Data Services application. MORE INFORMATION
A BCP OUT operation through a gateway is already supported. The BCP OUT is
simply a SELECT operation that the gateway supports. However, the BCP IN
operation is a special operation, and therefore requires the use of dbbcmd.
To do this, perform the following steps:
The pattern of "insert bulk" and a binary packet requiring alternating calls to dbcmd() and dbbcmd() can occur many times in single BCP session. The smaller the BCP batch size, the more often the combination will need to be processed. NOTE: Remember that you are adding another layer of indirection, so you may not yield the same BCP performance statistics you might achieve by directly bulk copying the data into the SQL Server. Additional query words: procsrv ods
Keywords : SSrvProg |
Last Reviewed: April 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |