Create Element (DTA)

Applies to: SQL Server

Contains information about the indexes, statistics, or heap structures in a user-specified configuration.

Syntax

  
<Recommendation>  
    <Create>  
    ...code removed here...  
    </Create>  
</Recommendation>  

Element Characteristics

Characteristic Description
Data type and length None.
Default value None.
Occurrence Required once for each physical design structure type (indexes, statistics, or heap structures).

Element Relationships

Relationship Elements
Parent element Recommendation Element (DTA)
Child elements Index Element (DTA)

Statistics Element (see Database Engine Tuning Advisor XML schema for information)

Heap Element (see Database Engine Tuning Advisor XML schema for information)

Remarks

This element is of the CreateTypecomplexType name in the Database Engine Tuning Advisor XML schema. It is used to create indexes, statistics, and heap structures for a user-specified configuration. Do not confuse this Create element with the other types that can be used to create views (CreateViewType) or partitioning (CreatePType). Refer to the Database Engine Tuning Advisor XML schema for information about these other Create element types.

Example

For a usage example of this element, see the XML Input File Sample with User-specified Configuration (DTA).

See Also

XML Input File Reference (Database Engine Tuning Advisor)