Skip error and generate a script

  • In tasks, generate scripts, I select all store procedures to generate scripts for all sp.

    There are about 200 sp. When run generating about 50th sp, there is an error and then job stop.

    How to set up job to skip error and run generating scripts for next sp?

  • By default SSMS generate Script task has "Continue Scripting on Error" set to false. You can change it to TURE by clicking on Advanced Button.

    Please see attached screenshot for what am talking about. Hope this helps...

Viewing 2 posts - 1 through 1 (of 1 total)

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