Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88054

Ignoring column from Excel file while importing to SQL Server

$
0
0

I have multiple Excel files that have the same format. I need to import them into SQL Server.

The issue I currently have is that there are two text columns that I need to ignore completely as they are free text and the character length for some rows exceeds what the server allows me to import which results in a truncation error.

Because I don't need these columns for my analysis, the table I'm importing to doesn't include these columns but for some reason the SSIS packages still picks up those columns and cuts the import job halfway through.

I tried using max character length for those columns which still results in the truncation error.

I need to create an SSIS package that ignores the two columns completely without deleting the columns from Excel.


Viewing all articles
Browse latest Browse all 88054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>