Another way to copy SQL Server table Excel data

Source: Internet
Author: User

One, SQL Server table data is copied to Excel

1, new query, with SQL statements to read out the table data

2. Then, select data, right-click. Copy (also can click to copy with title), copy to Notepad (otherwise garbled)

3, then copy the contents of the Notepad, paste in Excel can be.

Second, Excel copy to SQL Server table data

1. Open Excel to copy data.

2. Open the SQL table in edit state

3. Right click on the left side of the table, select Paste (note that Excel columns must correspond to the columns of the SQL table)

4, assuming increment, do not copy auto increment field

Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

Another way to copy SQL Server table Excel data

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.