Question: how to export data in excel from sql server query?
Answer: To start to use this feature, go to Object Explorer, right click on any database (e.g. AdventureworksDW2016CTP3), under the Tasks, choose Export Data command: This will open the SQL Server Import and Export Wizard window: To proceed with exporting SQL Server data to an Excel file, click the Next button.