SQL Server data export Excel (a)

First, the query to export data to Excel

1, find the table you want to export

 

 

2, the new query (query all, may be required to query the data)

 

3. Right-click in the margin we choose the query results "will result Save As" option

 

4, this time saving interface will pop up, the default file type is .CSV

(PS: CSV is a common, relatively simple file format, by default users, commercial and scientific widely used ..csv file is opened Excel.)

 

 5. Click to view the exported data results

   

 

6. Further, if in fact, a small amount of data can be directly copied and pasted into the inside EXCEL

It appears to be not very simple, but a closer look, this guide out of the data, after EXCEL, some content changes, such as my time is displayed.

Therefore, the requirements for accuracy of data to hate, not recommended Export

 

Guess you like

Origin www.cnblogs.com/D-jing/p/11558041.html