Execute T-SQL Statement Task (Maintenance Plan)
Applies To: SQL Server 2016
Use the Execute T-SQL Statement Task dialog to customize your maintenance plan by adding Transact-SQL statements of your choice to this maintenance plan.
Select the server connection to use when performing this task.
Create a new server connection to use when performing this task. The New Connection dialog box is described below.
Execution time out
Time (seconds) to wait for task completion before timing out (terminating task).
Transact-SQL statements to execute.
View the Transact-SQL statements performed against the server for this task, based on the selected options.
Enter a name for the new connection.
Select or enter a server name
Select a server to connect to when performing this task.
Refresh the list of available servers.
Enter information to log on to the server
Specify how to authenticate against the server.
Use Windows integrated security
Connect to an instance of the Microsoft SQL Server Database Engine with Microsoft Windows Authentication.
Use a specific user name and password
Connect to an instance of the SQL Server Database Engine using SQL Server Authentication. This option is not available.
Provide a SQL Server login to use when authenticating. This option is not available.
Provide a password to use when authenticating. This option is not available.