How to copy SQL Server tables and EXCEL Data in batches (solved)

Source: Internet
Author: User

How to copy SQL Server tables and EXCEL Data in batches (solved)

1. Copy SQL Server table data to excel (method)

1. Create a New query and read the table data using SQL statements.

2. Then, right-click the data and copy it (you can also click Copy together with the title)

3. paste it in excel.

Ii. Copying data from an excel file to an SQL Server table (method)

1. Open excel to copy data.

2. Open an SQL table in the editing status.

3. Right-click the serial number on the left of the row at the bottom of the table and choose paste. (Note that the excel column must correspond to the column in the SQL table)

4. If there is auto-increment, do not copy the auto-increment field.




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.