ImportRowsPerBatch Property
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The ImportRowsPerBatch property specifies the number of rows contained in a bulk-copy transaction.
구문
object.ImportRowsPerBatch [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A long integer greater than 0
Data Type
Long
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetImportRowsPerBatch(LPLONG pRetVal);
HRESULT SetImportRowsPerBatch(LONG NewValue);
주의
The Microsoft SQL Server bulk-copy process can copy large amounts of data from an external data file to a SQL Server table. By default, a bulk-copy data-import operation inserts all rows in the data file in a single transaction. SQL Server does not guarantee data integrity until and unless a bulk-copy transaction is committed.
Use ImportRowsPerBatch to adjust the size of the bulk copy transaction.