BCP Insert

SAP jConnect supports large insertions of rows to SAP Adaptive Server version 12.5.2 and later using bulk-load inserts.

Although this feature does not require special server configuration, a larger page size, network packet size, and maximum memory size significantly improves performance.

Additionally, depending on the client memory, using of larger batches also improves performance.

To enable bulk-load inserts, set ENABLE_BULK_LOAD to one of these values:

When you use prepared statements, and ENABLE_BULK_LOAD is set to a valid value, SAP jConnect uses the BULK routines to insert a batch of records into SAP databases.

Limitations for Enabling Bulk Load

Some of the limitations for ENABLE_BULK_LOAD:
  • Triggers are ignored on selected tables.
  • Null and referential constraints are not validated.
  • Computed and encrypted columns are not supported.
  • Duplicate identity values might be created if you specify identity value ranges that overlap.
  • Conflicting IDENTITY values might be inserted when concurrent data entry occurs.