SQL Server dummies tutorial-import a database in Excel.

Source: Internet
Author: User

During system creation, you may often encounter the process of importing an Excel table submitted by the Department. It seems that there are many methods. Here we will introduce the above operations through the Excel import function of sqlserver. OK. Let's get started.

 

Figure 1: Right-click a task in the database and choose import data from the shortcut menu.

 

 

Figure 2: the SQL Server Import and Export function panel is displayed.

 

 

Figure 3: select the Excel option from the drop-down list.

 

Figure 4: select the target Excel file to be imported

 

Figure 5: select the first option

 

Figure 6: Follow the prompts below to get the following page after we confirm the import. We have completed the Excel import.

 

 

Figure 7: The number of tables generated is based on the sheet in the Excel file.

 

 

Figure 8: After the import is completed, we find that there are several database tables in the Chinese $ format in the database. This is the imported Excel table.

 

In this step, the Excel data is already in the database.

Select * From operator line $

The above sentence can be used to obtain data, and then how to import the data to the required database.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.