SSIS and check constraints


i've added check constraint table prevent bad data being loaded ssis.

when run package using fastload variable destination table, rows being rejected not violate check constrant.

the aim able re-direct rows in data warehouse exception reporting users can fix bad data @ source.

the constraint added "date < 2012-06-25" last date in source data.

when run ssis check constraints enabled, rows being redirected have dates of "2012-06-05" , earlier (note in case here, american style dates constraint wouldn't violated).

a similar thing happened when tried test constraint on integer column, 3 rows should have been redirected, of rows violated key constraint.

i set batch size 1 row check every line of data , still same problem.

anyone seen before or have ideas what's wrong?

if helps, source sql 2000 sp4 , destination sql 2008 r2.

d:

wow, boo boo on part. dates filtered correctly constraint, written output table wrong dates because dateformat option between servers different.

"you live, learn"



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........