Import Excel to SQL Server 2008

前端 未结 4 1001
广开言路
广开言路 2021-01-04 20:41

I need to create a process to import a multi tabbed excel spreadsheet into SQL Server 2008R2. Each tab will be a different table in the database. This will need to be done w

4条回答
  •  耶瑟儿~
    2021-01-04 21:08

    Its very simple. Right click the Database in Sql Server(2008), select Tasks and select Import Data

    enter image description here



    Now change the DataSource to Microsoft Excel. Chose the path of Excel file by clicking Browse button and click Next.

    enter image description here



    Chose the Sql Server instance and chose the database to which the excel to be imported.

    enter image description here



    Select Copy data from one or more tables or views and click Next.

    enter image description here



    Now select the sheets to be imported to Sql Server.

    enter image description here



    Click Next

    enter image description here



    Now click Finish

    enter image description here



    Now the wizard imports the data from Excel to Sql Server and click Close.

    enter image description here



    Here is the table

    enter image description here

提交回复
热议问题