CommandText Element (RDL)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies the query that the report server executes to retrieve data for the report.

Datatype Characteristics

Characteristic Description

Data type and length

String

Default value

None

Element Relationships

Relationship Element

Parent elements

Query Element (RDL)

Child elements

None

Remarks

The CommandText element contains an expression that evaluates to a statement that the data source can use to retrieve data (for example, a Transact-SQL query). The type of query contained in the CommandText element is specified in the CommandType element.

See Also

Reference

Report Definition Language XML Schema
Report Definition XML Elements

Concepts

Report Definition Language Data Types

Other Resources

Development (Reporting Services)
Querying and Defining Report Data (Reporting Services)

Help and Information

Getting SQL Server 2008 Assistance