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

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

Reference

XML Input File Reference (DTA)

Help and Information

Getting SQL Server 2005 Assistance