How to script jobs using Transact-SQL (Enterprise Manager)

To script jobs using Transact-SQL

  1. Expand SQL Server Agent, right-click Jobs, and then click Script All Jobs/Script All.
  2. In the Generate SQL Script dialog box, in the File name box, enter a name for the script.
  3. Under File format, select:
  4. Under SQL generation options, select:
  5. Enter a T-SQL batch separator. The default is GO.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.