Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

How to export SQL server query result to excel?

$
0
0

Hi recently in my requirement I was faced some difficulty in exporting SQL server query result to excel.

Exporting data with right click on database name > tasks > export data, selecting Excel and mapping fields seems to be difficult apart from that just export the data by selecting export to file option in top action pane and execute the query it will generate .rpt file.

1) After generating .rpt file open MS excel select the From Text in Data tab, then select the file click on next, next........

2) Without .rpt file by default after running Query in sql editor it showing results in bottom of the query click on top left corner in results then all the results will select, right click then click on copy with headers then open the excel file and paste it.

Thanks


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>