Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssis doubts


ssis doubts

Author
Message
asranantha
asranantha
SSC Veteran
SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)SSC Veteran (216 reputation)

Group: General Forum Members
Points: 216 Visits: 4717
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
Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36242 Visits: 18751
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
My Blog: www.voiceofthedba.com
jprabha.d
jprabha.d
SSC-Enthusiastic
SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)

Group: General Forum Members
Points: 110 Visits: 435
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search