|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, July 09, 2009 2:29 AM
Points: 11,
Visits: 84
|
|
Hi,
I want to move the data from SQL tables to flat files.
a, I want to move the correct data into one flat file and error data into another flat file.
b, I want to log the error details into another flat file. The flat file contains,error occured in the particular row,error occured due to contraint or due to invalid data type.
c, is it possible to do it through design mode without using any script?
Please guide me how can i proceed this.
Regards
Senthil
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Tuesday, August 10, 2010 5:07 AM
Points: 2,732,
Visits: 23,078
|
|
The short answer is that it can probably be done without writing any significant code or using a script component. It will really depend on what you consider bad data and errors. If you post a few sample rows of good and bad data and what you would want to error messaging, it may be possible to give you some direction.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 12:25 PM
Points: 1,148,
Visits: 3,149
|
|
You could accompish this using a script task in an onError event handler. Refer to Daniel Read's post here -
http://www.developerdotstar.com/community/node/327
Tommy
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, December 17, 2012 8:07 AM
Points: 13,
Visits: 120
|
|
Hi ,
Please find the below blog where i have updated similar error handling.
http://www.nkannan.com/2012/02/error-handling-in-ssis-dft.html
Thanks, Kannan
|
|
|
|