I have a number of SSIS packages that run net change import processes from one database to another. At the destination server data is inserted into a temp table by a data flow task, and then I run a very simple set of net change insert/update/delete queries in an Execute SQL task.
I'd like to report the number of rows inserted, deleted and updated back to SQL agent - specifically I'd like these counts to show up in the "view history" interface in SSMS for any jobs running this SSIS package.
I feel like this should be incredibly simple (and it's no doubt going to turn out to be), but I can't work out how to do it.
I'm running SQL Server 2008 R2