The InsertQuery property specifies a parameterized SQL statement to insert data at the destination.
| DataDrivenQueryTask Object |
object.InsertQuery [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Parameterized SQL statement to insert data |
Although the name of a data-driven query property is preset, its content is not enforced. Any of the queries may be used for any desired operation. The nomenclature is provided as a convenient means of identification, based upon the primary purpose of the operation.
String
Read/write
HRESULT GetInsertQuery(BSTR *pRetVal);
HRESULT SetInsertQuery(BSTR NewValue);
| DeleteQuery Property | UpdateQuery Property |