Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 2.08 KB

File metadata and controls

70 lines (57 loc) · 2.08 KB
title Server 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
Server element
ms.assetid 9fe0bfb4-3aa6-4eb2-a83e-c0d0e7d4e9f6
author stevestein
ms.author sstein
manager craigg

Server Element (DTA)

Contains the identifying information for the server on which the databases reside that you want to tune.

Syntax

  
<DTAInput>  
    <Server>  
    ...code removed here...  
    </Server>  

Element Characteristics

Characteristic Description
Data type and length None.
Default value None.
Occurrence Required once per DTAInput element.

Element Relationships

Relationship Elements
Parent element DTAInput Element (DTA)
Child elements Name Element for Server (DTA)

Database Element for Server (DTA)

Remarks

You can specify only one Server element for the DTAInput element. This element is of the ServerDetailsTypecomplexType name in the DTA XML schema. Do not confuse this Server element with the one that is the child of the Configuration element. For more information, see Server Element for Configuration (DTA).

Example

The following example shows how to specify the Sales.SalesPerson table in the AdventureWorks database on SERVER001:

<Server>  
  <Name>SERVER001</Name>  
  <Database>  
    <Name>AdventureWorks</Name>  
    <Schema>  
      <Name>Sales</Name>  
      <Table>  
        <Name>SalesPerson</Name>  
      </Table>  
    </Schema>  
  </Database>  
</Server  

See Also

XML Input File Reference (Database Engine Tuning Advisor)