Jump to content

Bulk Copy Program

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 217.117.64.234 (talk) at 14:50, 17 October 2011 (Other Platforms). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Bulk Copy Program[1] (BCP) is a command-line tool used to import or export data against a Microsoft SQL Server or Sybase database. The tool is often more efficient [citation needed] than more recent GUI-based applications, such as DTS, to import and extract data.

Common Uses

Some common uses of BCP are:

  • Stage a raw text file in a table for further data scrubbing.
  • Create a delimited or fixed-width file for exchange with another party.
  • Backup data from a database vendor specific format, to a common text format.

Other Platforms

References

  1. ^ "Microsoft SQL Server bcp Utility". Microsoft. April 2010.
  2. ^ "MySQL 5.1 LOAD DATA INFILE Documentation". Retrieved 2010-05-31.
  3. ^ "PostgreSQL 8.1.21 Documentation". Retrieved 2010-05-31.