DeleteQuery Property (DTS)

The DeleteQuery property specifies a parameterized Transact-SQL statement used to delete data from the data destination.

Applies To
DataDrivenQueryTask Object  

Syntax

object.DeleteQuery [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Parameterized SQL statement used to delete 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 GetDeleteQuery(*pRetVal);

HRESULT SetDeleteQuery(BSTR NewValue);

See Also
InsertQuery Property UpdateQuery Property

  


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