Jaa


Query Element (RDL)

Contains information about the query contained within the dataset.

Syntax

<DataSet Name="...">
       ...
        <Query>
              <DataSourceName>...</DataSourceName>
              <CommandType>...</CommandType>
              <CommandText>...</CommandText>
              <QueryParameters>...</QueryParameters>
              <Timeout>...</Timeout>
        </Query>
       ...
</DataSet>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent element

DataSet

Child elements

CommandText, CommandType, DataSourceName, QueryParameters, Timeout

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance