Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Specifying a network packet
size [Table of Contents] Copy out and error files

Utility Guide

[-] Chapter 3 Using bcp to Transfer Data to and from Adaptive Server
[-] Copy in and error files

Copy in and error files

When you specify the -e error_file option with copy in, bcp stores the rows that it cannot copy in to Adaptive Server in the specified error file.

bcp in detects two types of errors:

The copy in process displays error messages on your monitor.

The following example loads the newpubs file into the publishers database, storing any error rows in the pub_err file:

bcp pubs2..publishers in newpubs -epub_err

Keep the following in mind when working with error files generated by copy in:


Specifying a network packet
size [Table of Contents] Copy out and error files