CdbRecordset::SetBatchSize, GetBatchSize Property

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

Syntax

VOIDSetBatchSize(LONG l);

LONGGetBatchSize(VOID);

Set Parameters

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

Remarks

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.