InsertQuery Property (DTS)

The InsertQuery property specifies a parameterized SQL statement to insert data at the destination.

Applies To
DataDrivenQueryTask Object  

Syntax

object.InsertQuery [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Parameterized SQL statement to insert data

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.

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetInsertQuery(BSTR *pRetVal);

HRESULT SetInsertQuery(BSTR NewValue);

See Also
DeleteQuery Property UpdateQuery Property

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.