March 6, 2013 at 9:05 am
hi friends i have small doubt in ssis package.plese tell me how to solve issuse.
text file source contains data like
id , name
10 , ramu
11 ,gali
12 ,venu
dd44d3,6dh5j
13 ,tali
14 ,gai
15 ,gadi
that data i want load into destination table
when ever we run package that time loading records 10th,11th,12th reocds loaded 4th recorded is failed.
next time while exectuion packaged only loading records from staring failure.
next time load records like 443th,13th and 14th,15th
in this sistuvation what we do. check points in used in this sistuvation.
plese tell me any process
March 6, 2013 at 9:23 am
There are a few things you can do. First, if you are loading into a destination that expects integers for the first field, you'll never load those records. However you can split those off into an "error" table, and deal with them separately. SSIS can send records that don't match a particular pattern to another destination.
This might help: http://www.sqlservercentral.com/Forums/Topic1193618-364-1.aspx#bm1194993
What you would do is then process the error rows separately, perhaps manually.
A few other helpers: Incremental loads - http://www.sqlservercentral.com/articles/Stairway+Series/76390/
March 12, 2013 at 6:08 am
Is that u can change the Datatype of the Destination ,if so then sink both the source and destiantion datatype to same ,
IF "ID" is integer convert into the Nvarchar using Dataconversion transformation and map the converted ID to the Destination ID feild,...but the Destination table "ID" should be set to the Nvarchar.
Let me know if this worked for u
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply