Migrating data from Excel(*.xls; *.xlsx) to SQL Server

This guide walks you through migrating data from MS Excel to SQL Server in a few simple steps using ESF Database Migration Toolkit. Simplify complex migration tasks and save valuable time with our streamlined approach.

MS Excel vs. SQL Server:

  • Microsoft Excel is a powerful spreadsheet software developed by Microsoft, widely used for organizing, analyzing, and visualizing data. It offers a wide range of features including calculation, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications (VBA). Excel enables users to create complex formulas, perform data analysis, and generate professional-looking charts and graphs. It is extensively utilized in various fields such as finance, accounting, engineering, and data analysis for its versatility and ease of use.
  • SQL Server is a robust relational database management system developed by Microsoft, designed for a wide range of data management applications. It supports a variety of transaction processing, business intelligence, and analytics applications in corporate IT environments. Known for its high performance, scalability, and security features, SQL Server offers comprehensive tools for database creation, management, and maintenance, making it a preferred choice for both small-scale applications and large enterprise systems. Its integration with other Microsoft products and services further enhances its versatility and ease of use.

Prerequisite:

  • Software Required:

    64-bit Windows application for ESF Database Migration Toolkit 12.2.08 (2025-07-11).
    (md5: e93a0ef57622bfd8ee77d6aa6e38c13b)
    32-bit Windows application for ESF Database Migration Toolkit 12.2.08 (2025-07-11).
    (md5: bd34cb7f73c88c6d0c7a44069ad756d6)
  • System Supported:

    • Windows 7 or higher.
    • MS Excel 97 or higher.
    • SQL Server 6.5 or higher.

Step by Step Wizard:

  1. Microsoft Excel Data Source Configuration

    • In the "Choose a Data Source" dialog:
      • Select "Microsoft Excel(*.xls;*.xlsx)"
    • File selection:
      • Click the "[...]" button (Browse)
      • Select your Excel file (.xls or .xlsx format) containing migration data
    "Choose a Data Source" dialog showing Microsoft Excel option and file browser interface
    Fig. 1: Microsoft Excel data source configuration
  2. Configure Microsoft SQL Server Destination

    • In the "Choose a Destination" dialog:
      • Select "Microsoft SQL Server"
    • Server connection details:
      • Enter SQL Server host name (optionally with instance name), e.g., localhost\sqlexpress
      • For TCP/IP connections:
        • Specify server port (default: 0 uses named pipes)
        • Provide username (e.g., sa) and password
      • For Windows Authentication:
        • Check the Windows Authentication checkbox
    • Database configuration:
      • Click the Refresh button to list existing databases
      • Select existing database or enter new database name
      • Note: Non-existing databases will be automatically created during migration
    • Schema configuration:
      • Click the refresh button to list existing schemas
      • Select existing schema or enter new schema name
      • Default schema: dbo (if left blank)
      • Note: Non-existing schemas will be automatically created during migration
    "Choose a Destination" dialog showing Microsoft SQL Server configuration options including hostname, authentication, database and schema settings
    Fig. 2: Microsoft SQL Server destination configuration
  3. In "Select Source Table(s) & View(s)" Dialog

    • Select migration objects: Choose tables or views to include in the migration.
      Select Tables & Views
      Fig. 3: Select tables and views
    • Modify table structure: Click the ellipsis (...) button to access table options and schema adjustments.
      Transform
      Fig. 4: Do transform
    • Configure field mapping: In the Field Mapping options:
      • Customize destination fields (name, data type, default value, comments)
      • Select data transfer method:
        • Overwrite Table (replace existing data)
        • Empty Data (truncate before insert)
        • Append Data (add to existing data)
        • Skip Table (exclude from transfer)
      • Apply data filters before transfer
  4. Execution Dialog

    • Start migration: Click "Submit" to initiate automated data transfer from MS Excel to SQL Server.
      Execute
      Fig. 5: Execute migration
    • Monitor progress: Click "Browse Log" for real-time migration tracking, including issue resolution details.
    • Save configuration: Click "Save as job" to store settings for:
      • Quick reloads of migration jobs
      • Command-line execution (use: dmtc.exe --help for parameter options)
  5. Finished!

    After migration completes, the toolkit generates a comprehensive report for verifying migration accuracy. You can monitor progress as the automated process runs efficiently. For any questions or feedback, contact us – our team is ready to assist.

Download Now »

Related Links:

1. SQL Server to MS Excel Migration
1. Convert to Microsoft Excel
2. MS Excel to DB2 Migration
3. MS Excel to FireBird Migration
4. MS Excel to MariaDB Migration
5. MS Excel to MySQL Migration
6. MS Excel to Oracle Migration
7. MS Excel to PostgreSQL Migration
8. MS Excel to SQL Azure Migration
9. MS Excel to SQLite Migration
 
1. DB2 to SQL Server Migration
2. FireBird to SQL Server Migration
3. Foxpro to SQL Server Migration
4. Informix to SQL Server Migration
5. InterSystems Cache to SQL Server Migration
6. MS Access to SQL Server Migration
7. MariaDB to SQL Server Migration
8. MySQL to SQL Server Migration
9. Oracle to SQL Server Migration
10. PostgreSQL to SQL Server Migration
11. SQLite to SQL Server Migration