Question: how to export to excel in sql?
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.