Επεξεργασία

Κοινή χρήση μέσω


Server Element (DTA)

Applies to: 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)