Aller au contenu principal

StartBatch

Structure

StartBatch(iDataSet, sSQL, iSize)

Type

Procedure

Description

This procedure will configure one of the 10 td* datasets to use the ExecuteBatch procedure to perform multiple UPDATE, INSERT, or DELETE statements.

Parameters: 3

iDataSet=# of dataset, must be either 1-10. IndySoft provides 10 datasets that can be accessed through 'td*' custom script functions.

sSQL=The SQL statement to be executed. Parameters to be substituted are indicated with :[name], such as :COMPANY or :1 and will be referenced later.

iSize=The number of Batch Value sets that will be used. For example, to insert 10 records, iSize must be 10. |