Stopping a Script Component Source
what correct way stop script component source , rolling back?
i'm firing error , immediatly exiting createnewoutputrows method (otherwise continue output rows). correct way it?
paulo morgado
correct. in order stop source, should:
- stop producing rows (duh :) )
- report error via fireerror
- throw exception/return/stop executing. (the fireerror sufficient raise error condition ssis stop data flow, it's choice if throw error drive point home.)
please note causing source fail not cause rest of components in data flow fail immediately. other sources continue load time until ssis can negotiate/force them stop.
talk me on |
SQL Server > SQL Server Integration Services
Comments
Post a Comment