Scripting Sql Server 2000 Agent Jobs

  • Right click Jobs, click All Tasks, Generate SQL Script.

    That will script all the jobs on the server.

  • when you script out the jobs see to it that your tsql job steps dont have "GO" batch breaker.

    If its there the script will give error while executing.

    It seams you should replace "Go" with other batch breakers not sure which one.

    Tanx 😀

  • Thanks!

    Yes three are several 'GO' in the individual jobs. I guess it would be ok to script them first and then deal with the 'GO' separators within the jobs. There are 'GO' seperators that separate the individual jobs I see in this all jobs script I generated.

    BV

  • There is no ALL Task option when you right click JOBS in SQL 2000. Am i missing something? Thanks!

  • Use Enterprise Manager in SQL2000. All tasks not available via Management Studio for SQL2000.

Viewing 5 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply