Events
Sep 15, 6 AM - Sep 17, 3 PM
The best SQL community-led learning event. Sept 2025. Save €200 with code FABLEARN.
Get registeredThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server
Specifies the workload file. A workload is a set of Transact-SQL statements that execute against a database or databases that you want to tune. Workload files can be Transact-SQL scripts (.sql) or trace files (.trc). For more information, see Start and Use the Database Engine Tuning Advisor.
<DTAInput>
<Server>...</Server>
<Workload>
<File>...</File>
</Workload>
Characteristic | Description |
---|---|
Data type and length | Use the string data type to specify the directory path to your workload file. For example:<File>C:\Tuning\tun.sql</File> Note that length limit is enforced by the server. |
Default value | None. |
Occurrence | Required once if no other type of workload is specified. You must specify an EventString, a File, or a Database child element for the Workload parent, but only one type can be used. For example, if you specify a workload with the File element, then you cannot also specify a workload with the Database element in the same XML input file. |
Relationship | Elements |
---|---|
Parent element | Workload Element (DTA) |
Child elements | None. |
For a usage example of this element, see Simple XML Input File Sample (DTA).
Events
Sep 15, 6 AM - Sep 17, 3 PM
The best SQL community-led learning event. Sept 2025. Save €200 with code FABLEARN.
Get registered