InsertQuery Property

DTS Programming

DTS Programming

InsertQuery Property

The InsertQuery property specifies a string of one or more parameterized SQL statements to execute at the destination as the insert query.

Applies To
DataDrivenQueryTask Object TransformationSet Object
DataDrivenQueryTask2 Object  
Syntax

object.InsertQuery [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Parameterized string of SQL statements

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetInsertQuery(BSTR *pRetVal);

HRESULT SetInsertQuery(BSTR NewValue);

Remarks

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. For example, the InsertQuery property does not need to contain an INSERT statement.

See Also

DeleteQuery Property

DTS Query Strings in Visual Basic

InsertQueryColumns Property

UpdateQuery Property

UserQuery Property