Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

I am working on Data Warehousing project where my work is to download the file from share point site and import it into Table in SQL(using Excel source and oledb destination). but Daily in file column data types are changing. Sometimes comes Varchar, next day same column can be nvarchar and some other day it can be ntext also and when i convert it manually using conversion it goes through.

I am using visual studio 2008 and Package is developed on Server where we dont have Excel installed.

Please help me with any alternate solution.

Thanks in advance.

What I have tried:

I tried Imex = 1 and HDR = Yes in Excel connection string. but dint work out. and even sometimes i get error External table is not in expected format.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900