Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Database Engine
Technical Reference
SQL-DMO Reference
Objects
B (SQL-DMO Objects)
 BulkCopy Object

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Other versions are also available for the following:
SQL Server 2008 Books Online (June 2009)
BulkCopy Object

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The BulkCopy object represents the parameters of a single bulk copy command issued against a Microsoft SQL Server database.

SQL-DMO object model that shows the current object

The BulkCopy object is used as a parameter to the ImportData method of the Table object and the ExportData method of the Table and View objects.

With the BulkCopy object, you can:

  • Specify format values for the data file used for bulk copy operations.
  • Set bulk copy command parameters, such as error file name and maximum number of errors to allow before stopping.
  • Stop an in-process bulk copy.
  • Respond to bulk copy events to report the number of rows processed or the percent complete.
ms133968.note(en-us,SQL.100).gifNote:
The BulkCopy object is compatible with instances of SQL Server version 7.0 and later. However, the BulkCopy2 object extends the functionality of the BulkCopy object for use with features that were added in SQL Server 2000.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker