My insert below in ssis produces 26 rows, vs. 86 in ssms. I assume it timesout but I am not sure?
I'd like to get the same behavior. I changed MaximumErrorCount to 10000, but it didn't make a difference.
In both cases the insert fails for tables that don't have a Date column. But I am not concern about these failures and errors.
exec sp_MSforeachtable 'insert into max_date_in_db_tables(tablename, updated, maxdate) select ''?'', getdate(), max([Date]) from ?', @whereand = 'and o.name like ''%'''
My task settings:
- delayValidation True
- DisableEventHandlers True
- FailPackageOnFailure False
I am using Microsoft Visual Basic 2008. The links below are related but don't provide a solution.