Quantcast
Channel: SSIS: Custom Logging Using Event Handlers
Viewing all articles
Browse latest Browse all 119

re: SSIS: Custom Logging Using Event Handlers

$
0
0
Hi Michael,

I recommend using SSIS to load the flat file data into nvarchar columns first.  Then test for numbers and dates with the T-SQL functions IsDate(col001) and IsNumeric(col002).

e.g.

insert into my_table_errors
select * from my_table where IsDate(col001) = 0

...and...

insert into my_table_errors
select * from my_table where IsNumeric(col002) = 0

If anyone can think of a simpler method that is just as reliable, please respond.

Viewing all articles
Browse latest Browse all 119

Trending Articles