BatchSize Property

        Applies To

Sets or returns the number of statements sent back to the server in each batch (ODBCDirect workspaces only).

Syntax

VOIDSetBatchSize(LONG lSize);

LONGGetBatchSize(VOID);

Parameters

Type Argument Description
LONG lSize A Long that indicates the number of batched statements sent to the server in a single batch update. The default value is 15.

Remarks

The BatchSize property determines the batch size used when sending statements to the server in a batch update. The value of the property determines the number of statements sent to the server in one command buffer. By default, 15 statements are sent to the server in each batch. This property can be changed at any time. If a database server doesn't support statement batching, you can set this property to 1, causing each statement to be sent separately.