INF: How to Use DBBCMD to Enable BCP IN Through an ODS GatewayLast reviewed: February 10, 1998Article ID: Q180781 |
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 INFORMATIONA 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |