Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssis doubts Expand / Collapse
Author
Message
Posted Wednesday, March 6, 2013 9:05 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, September 12, 2014 2:11 AM
Points: 211, Visits: 4,540
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
Post #1427476
Posted Wednesday, March 6, 2013 9:23 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 10:25 AM
Points: 33,267, Visits: 15,433
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/







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1427487
Posted Tuesday, March 12, 2013 6:08 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, August 6, 2014 12:54 AM
Points: 110, Visits: 434


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
Post #1429723
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse