Archive for May, 2015

SSIS – How to prevent a Task failure from failing an entire package

May 11, 2015

Sometimes you will have an SSIS package which contains volatile task where failure is sometimes allowable – for example if I file doesn’t exist you can not rename it, but you might not want the whole package to fail as a result. Here’s how to continue on failure without failing the package.

1. Create an On error handler for the task
2. Expose System Variables in the variables pane
3. Set the propagate variable value to FALSE

source: http://www.timmitchell.net/post/2013/08/05/continue-package-execution-after-error-in-ssis/

get OS process memory usage

May 7, 2015

exec xp_cmdshell ‘C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe get-process -computername XXX ^| ft name,WorkingSet64 ‘