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 Package Not Writing all the Rows to OLE DB Destination Although shows the complete numbers on dataflow Path Expand / Collapse
Author
Message
Posted Tuesday, April 19, 2011 1:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Saturday, September 29, 2012 2:37 AM
Points: 7, Visits: 48
my SSIS package loads data from excel file to SQL server table. The excel file has 5000 rows.

When I execute the Package the number of rows shown in the data flow path is 5000 leading to oledb destination. No errors. everything in green.
But when I check the sql table record count its only 100.
(Note: I have used - table or view - Fast Load. I have error output redirected to another table. Nothing is entered there as error.)

when I delete oledb destn and place Flat file destintion, all 5000 records are loaded.

When I create a new table(SSIS defined) from oledb destn, instead of original table, all 5000 rows are loaded. Again if I rename this new table to original table it loads only 100 rows.

The original table doesnt have any triggers/constraints.

What might be happening here?

Thanks.
Post #1095444
Posted Thursday, April 21, 2011 4:39 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, April 26, 2013 2:31 AM
Points: 228, Visits: 495
BackT0Work (4/19/2011)
my SSIS package loads data from excel file to SQL server table. The excel file has 5000 rows.

When I execute the Package the number of rows shown in the data flow path is 5000 leading to oledb destination. No errors. everything in green.
But when I check the sql table record count its only 100.
(Note: I have used - table or view - Fast Load. I have error output redirected to another table. Nothing is entered there as error.)

when I delete oledb destn and place Flat file destintion, all 5000 records are loaded.

When I create a new table(SSIS defined) from oledb destn, instead of original table, all 5000 rows are loaded. Again if I rename this new table to original table it loads only 100 rows.

The original table doesnt have any triggers/constraints.

What might be happening here?

Thanks.


Can you place a rowcount component before the OLD DB destination and check it's value?

Also, have a look at the execution results pane in BIDS... [SSIS.Pipeline] Information: "component "OLE DB Destination" (nn)" wrote xx rows.

Regards


Regards
Brian Ellul
----------------------------------------------------------------------------------
Computers are incredibly fast, accurate, and stupid. Human beings are incredibly slow, inaccurate, and brilliant. Together they are powerful beyond imagination.
- Albert Einstein -
Post #1096869
Posted Thursday, April 21, 2011 6:42 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 1:21 AM
Points: 9,374, Visits: 6,471
How do you check the rowcount in the destination table?
You didn't place a top 100 at the beginning, did you? (SSMS automatically adds TOP 1000 when you script out a select statement)




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1096937
Posted Tuesday, January 15, 2013 3:04 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, January 15, 2013 3:02 PM
Points: 1, Visits: 41
Make sure you don't have the error output for the OLE DB destination set to ignore errors.
Post #1407505
Posted Wednesday, January 16, 2013 1:15 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 1:21 AM
Points: 9,374, Visits: 6,471
Darren Lesnever (1/15/2013)
Make sure you don't have the error output for the OLE DB destination set to ignore errors.


Almost 2 years old this thread, so I hope the OP has already solved his issue
Solid advice though.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1407657
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse