Importing Excel data in SQL Server

1. Select the database you want to import, right-click - Task - Import Data
2. Select "Microsoft Excel" as the data source
3. Select the Excel file path to import, select the Excel version 97-2003, and then proceed to the next step, as shown in the figure:
take care Clicking on the next step here may result in an issue where the external table is not in the expected format. Please save the Excel file to be imported as an Excel 97-2003 workbook 4. Select "Microsoft OLE DB Provider for SQL Server" as the target, and then proceed to the next step. As shown in the figure:
5. Next, as shown in the figure:
6. Select the target table you want to import into, and then click "Edit Mapping", as shown in the figure:
7. "Source" refers to the header in the Excel table, "Target" refers to which field in the table to import. Select the corresponding field and click "OK", as shown in the figure:
8. Then the next step is enough.