Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 2.2 KB

File metadata and controls

58 lines (46 loc) · 2.2 KB
title Recommendation Element (DTA) | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology tools-other
ms.topic conceptual
dev_langs
XML
helpviewer_keywords
Recommendation element
ms.assetid 679ea535-865a-4633-a4d3-5b3090515158
author stevestein
ms.author sstein
manager craigg

Recommendation Element (DTA)

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)