Author |
Topic |
andypgill
Starting Member
34 Posts |
Posted - 2013-03-08 : 06:21:09
|
HiI 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 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-08 : 06:37:43
|
are they using same ssis package copied across? also are the excel providers in all the machine same?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
andypgill
Starting Member
34 Posts |
Posted - 2013-03-08 : 06:50:52
|
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 MVPhttp://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 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-08 : 09:10:06
|
yep.. and also version of SSIS------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
andypgill
Starting Member
34 Posts |
Posted - 2013-03-08 : 09:25:01
|
Yes they are the same versions of SSIS and excel |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-08 : 09:53:25
|
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 MVPhttp://visakhm.blogspot.com/ |
|
|
andypgill
Starting Member
34 Posts |
Posted - 2013-03-08 : 10:02:16
|
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 MVPhttp://visakhm.blogspot.com/
But why would only one of the PC's reject it ? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-08 : 10:39:25
|
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 MVPhttp://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 MVPhttp://visakhm.blogspot.com/ |
|
|
andypgill
Starting Member
34 Posts |
Posted - 2013-03-08 : 10:49:05
|
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 MVPhttp://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 MVPhttp://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. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-03-08 : 10:50:37
|
try setting IMEX=1 property for excel in excel connection------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|