How to process Excel files stored in an image data type column using SSIS package?

StackOverflow https://stackoverflow.com/questions/22968

  •  09-06-2019
  •  | 
  •  

Question

I have a .NET webforms front end that allows admin users to upload two .xls files for offline processing. As these files will be used for validation (and aggregation) I store these in an image field in a table.

My ultimate goal is to create an SSIS package that will process these files offline. Does anyone know how to use SSIS to read a blob from a table into its native (in this case .xls) format for use in a Data Flow task?

Was it helpful?

Solution

In my (admittedly limited) experience with SSIS, it is quite good at rapidly getting something up and running, but frusteratingly limited in getting something that "feels" like the most elegant, efficient solution to a programmer.

Since the Excel Source Editor seems to take only files as input, you need to give it a file or reimplement its functionality in code that can take a blob. I understand that this is unsatisfying, but in the end, this is a time saving tool.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top