Import Excel data into SQL Server

Source: Internet
Author: User

In the face of a lot of Excel data we may be very distressed, if one of the inserted into the database, not only a lot of time, but also possible errors, and now I say how to import data!

1. Preparatory work

The first thing to do is to create a data field in Excel that corresponds to a data table, such as:

Fields corresponding to the database:

2. Data import

  

Remember to select Excel

Note: An unexpected error in the external database driver (1) may appear in the previous step, and the workaround:

Open Windows Update in Control Panel to uninstall the KB404181 item, restart your computer

Then click "Browse" to select the target data you want to import, click "Next", enter the server name, login name and password:

Next:

Next:

Select the data table you want to import here, or you can name a new table yourself:

Click "Preview" to view our data:

Click "Next":

Last "Done"

Let's take another look at the effect:

Import Excel data into SQL Server

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.