Как заморозить столбцы в пакетах SSIS, чтобы иметь точно такие же столбцы как в источнике, так и в месте назначения
I'm creating an SSIS package to load .XLSX files in a SQL Server staging table. I need to control the columns number in my Excel source file in order to have exactly the same columns in both source and destination. The issue is that even when I add manually more columns in my Excel source files the data flow task succeeds which is not what I need because it's a technical constraint to me. It should fail, because I need to redirect failure and rename the file.
Что я уже пробовал:
I thought about counting columns in my source file and compare it with the number of columns in destination, but this is not really the purpose, I want to use Excel structure passing by SSIS.