Hi,
I have a flat file where I pick up only the first line which has a Control File name and a numbercounter. I have a table which has processed date and numbercounter.
FlatFile:
Control.txt , 4
Table:
ProcessedDate Counter
2012-12-10 3
If the numbercounter from the flat file is greater than one, for the maximum date in the table then I want to insert this record into table else the package should fail.
How can I achieve this? I can't use bulk commands in TSQL. If there is any other option that would be useful.
Thanks.