BCP partition support for multiple-partition, multiple-file operations

BCP supports transfer of data to and from partitions of tables in ASE. Data can also be copied to and from multiple data files in parallel.

The following section describes changes to BLK_PARTITION for BCP partition support.

BLK_PARTITION changes

To support named BCP partitions in BCP_IN and BCP_OUT operations, Sybase added a new property, BLK_PARTITION. The syntax for blk_props with the new BLK_PARTITION property follows:

blk_props(blkdescr, CS_SET, BLK_PARTITION, partbuf, CS_NULLTERM, NULL);

You must consider the following issues when using BLK_PARTITION:

bcp syntax changes

For the latest bcp syntax, see Appendix A, “Utility Commands Reference,” in the Open Client and Open Server 15.0 Programmer’s Supplement for your platform.

For more information on bcp partition support, see these documents: