UserQuery Property (DTS)

The UserQuery property specifies a parameterized SQL statement for a user-defined query.

Applies To
DataDrivenQueryTask Object  

Syntax

object.UserQuery [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Parameterized SQL statement for a user-defined query

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 GetUserQuery(BSTR *pRetVal);

HRESULT SetUserQuery(BSTR NewValue);

  


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