Replication of SQL Server table data to data in Excel

Source: Internet
Author: User

One, SQL Server table data copied to Excel

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

2, then, select the data, right-click, copy (also can be clicked together with the title copy), copied into Notepad (otherwise garbled)

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

II. 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 bottom row of the table to the left of the ordinal, select paste (Note that Excel column must correspond to the columns of the SQL table)

4, if there is self-increment, do not copy the self-increment field

Replication of SQL Server table data to data in Excel

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.