The dataset I'm working with are saved as different files for each month, how to I join these files together in SQL Server. I tried using Excel and Power Query but the datasets are too large and wasn't able to load completely.
I tried to google how to do this online but all I got was just how to import CSV files to SQL Server.
1条答案
按热度按时间sycxhyv71#
Try to import each file into a separate table and create a table for each month's data. You can use the Import/Export Wizard, BULK INSERT statement, or an SSIS package.
Once imported, you can use the join statement to combine the data as mentioned below :
This will combine the rows from
Table_January
andTable_February
based on the matchingID
values.