We are importing-exporting data from-to text file to sql server 2005 db using SSIS.
All my text files are too big with lots of Pharmaceutical records for Patient and Doctor info.
I have a job to import using ssis, apply some processing in SSIS and Log Error.
For Example :
Read DOCTOR.TXT File (7000 Records) With DoctorId, Date,Name... Fields
SSIS I need to track where
Name="SAM" and Date is NULL
3.Tracked record need to write to error log.txt file
Also need to create separate Txt file where SSIS execution detail is logged:
- SSIS Package Name
- Execution Date
- Status
- Any Other SSIS Package Execution Audit Detail
How do I do this using .Net code or any other way to do this in SSIS or Sql Server?
How do I track each record in SSIS and how do I put back to text file.
Is there is good example or article?