ImportData Method

Description

Bulk copies data from a data file into the table. Set the properties of a created BulkCopy object as desired, and pass it to the ImportData method.

Visual Basic

lRowsImported = Table.ImportData ( [Bcp :=] BulkCopy )

C++

HRESULT pTable->ImportData (
LPSQLOLEBULKCOPY
pBulkCopy,
LPLONG
plRowsImported = NULL );

Elements


Element Type Description

lRowsImported Long Returned number of rows imported from the data file into the table
BulkCopy BulkCopy Created BulkCopy object that specifies how to execute the bulk copy