MaximumErrors Property (DTS)

The MaximumErrors property specifies the maximum number of errors that can occur before the server terminates the load operation.

Applies To
BulkInsertTask Object  

Syntax

object.MaximumErrors [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Maximum number of errors that can occur

Remarks

The default is 10.

Transformations will fail at the first error if Fastload is being used, even if MaxErrors is changed, as long as the insert commit size is 0. This is because all the rows are batched in a single transaction. If you want to log more errors to the exception file, either do not use Fastload or set the insert commit size to another value, such as 1.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMaximumErrors(LONG *pRetVal);

HRESULT SetMaximumErrors(LONG NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.