Copy out and text and image data  Copy in and error files

Chapter 4: Using bcp to Transfer Data to and from Adaptive Server

Specifying a network packet size

To improve the performance of large bulk copy operations, you may want to use larger network packet sizes than the defaults. The -A size option specifies the network packet size to use for the bcp session that you are beginning.

The value of size must be:

For example, this command specifies that Adaptive Server send 40K of text or image data using a packet size of 4096 bytes for the bcp session:

bcp pubs2..authors out -A 4096 -T40960




Copyright © 2005. Sybase Inc. All rights reserved. Copy in and error files

View this book as PDF