Skip to content

Latest commit

 

History

History
73 lines (57 loc) · 2.3 KB

server-element-dta.md

File metadata and controls

73 lines (57 loc) · 2.3 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic ms.collection helpviewer_keywords dev_langs
Server Element (DTA)
In the dta utility, the Server element contains the identifying information for the server on which the databases reside that you want to tune.
rwestMSFT
randolphwest
03/01/2017
sql
tools-other
reference
data-tools
Server element
XML

Server Element (DTA)

[!INCLUDE SQL Server]

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)