SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Importing Error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andypgill
Starting Member

34 Posts

Posted - 03/08/2013 :  06:21:09  Show Profile  Reply with Quote
Hi


I have three PCs all with SQL and SSIS installed etc.

I have a package that imports and excel file. On two of the PC's it imports everything correctly, However on the third it doesn't import the last line of data.


Has anyone ever come across this before and do you have a solution (apart from getting rid of the PC !!)

Thanks

Edited by - andypgill on 03/08/2013 06:21:37

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/08/2013 :  06:37:43  Show Profile  Reply with Quote
are they using same ssis package copied across? also are the excel providers in all the machine same?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 03/08/2013 :  06:50:52  Show Profile  Reply with Quote
quote:
Originally posted by visakh16

are they using same ssis package copied across? also are the excel providers in all the machine same?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





yes its the same package saved on our network. Do you mean the same version of excel (2010) as excel providers ?

Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/08/2013 :  09:10:06  Show Profile  Reply with Quote
yep.. and also version of SSIS

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 03/08/2013 :  09:25:01  Show Profile  Reply with Quote
Yes they are the same versions of SSIS and excel
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/08/2013 :  09:53:25  Show Profile  Reply with Quote
may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 03/08/2013 :  10:02:16  Show Profile  Reply with Quote
quote:
Originally posted by visakh16

may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





But why would only one of the PC's reject it ?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/08/2013 :  10:39:25  Show Profile  Reply with Quote
quote:
Originally posted by andypgill

quote:
Originally posted by visakh16

may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/






But why would only one of the PC's reject it ?




its not rejecting but it may be that its not able to interpret the numeric values as it might have set metadata info as string datatype.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

andypgill
Starting Member

34 Posts

Posted - 03/08/2013 :  10:49:05  Show Profile  Reply with Quote
quote:
Originally posted by visakh16

quote:
Originally posted by andypgill

quote:
Originally posted by visakh16

may be the data contains varied types. Are the missing rows having different types ie numeric as against string in other cells etc?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/






But why would only one of the PC's reject it ?




its not rejecting but it may be that its not able to interpret the numeric values as it might have set metadata info as string datatype.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





Sorry i'm new to SQL why would one machine interpret the values differently to the others if they all have the same setup.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 03/08/2013 :  10:50:37  Show Profile  Reply with Quote
try setting IMEX=1 property for excel in excel connection

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000