We have been asked to create a program where the user can (via a browser) (1) upload an excel file, (2) run a program that ingests the file into SQL Server, (3) cleanses the data in SQL Server, and (4) outputs a resultset to a text file.
I am asking SSIS experts if you think my design is appropriate. I am thinking about creating the following:
1. Java program to upload the excel file to a folder on a server.
2. Java program will execute t-sql stored procedure.
3. T-SQL stored procedure that
a. Calls sp_start_job to execute a integrated services package that ingests the excel file into a sql server table.
b. Cleans the data
c. Calls sp_start_job to execute another package that outputs a resultset to a text file.
The stored procedure will be wrapped around try catch blocks to catch errors. Errors will be sent to email.
I appreciate any help on this design. Does this look correct? Does anybody have thoughts on how to improve the design?