I use the SQL Server 2019 Import and Export wizard to import an Excel sheet (xlsx file) as source and I set the destination as a SQL Server table.
In the wizard setup I setup the mapping for all the columns in Excel to the SQL Server table. After the import wizard I get no errors displayed on screen but I find not all the columns I have mapped are populated in the SQL Server table. Looking at the columns that are not imported I see they are at the end of the excel file columns (left to right) and all have null values in the db despite having values in the excel file and correctly being mapped in the wizard.
The excel file has 280 columns I map in the wizard and import
I have tried selecting SQL Server 2016 as source but the result is the same.
As a workaround I split the excel file into two separate excel files by deleting half the columns from the sheet at a time to reduce the number of columns. I then have to do 2 imports into two separate intermediary import step tables and join them afterwards via SQL queries into the master table.
I would like a method to do one import that supports 280 columns excel columns. I have not tried SSIS but I assume the result would be the same.
Is there any setting or workaround to get around this limitation?