แก้ไข

แชร์ผ่าน


Recommendation Element (DTA)

Applies to: SQL Server

Contains information about the hypothetical indexes that are part of a user-specified configuration.

Syntax

  
<Configuration>  
    ...code removed here...  
    <Table>  
      <Name>...</Name>  
      <Recommendation>  
      ...code removed here...  
      </Recommendation>  

Element Characteristics

Characteristic Description
Data type and length None.
Default value None.
Occurrence Optional. Can use once for each Table element.

Element Relationships

Relationship Elements
Parent element Table Element for Schema (DTA)
Child elements Create Element (DTA)

Drop element. For more information, see the Database Engine Tuning Advisor XML schema.

Remarks

This element is of the RecommendationTypecomplexType name in the Database Engine Tuning Advisor XML schema. It is used to specify indexes for a hypothetical configuration. Do not confuse this Recommendation element with the other types that can be used to specify partitioning (RecommendationPType) or views (RecommendationViewType). For information about these other Recommendation element types, see the Database Engine Tuning Advisor XML schema.

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)