Do you need to export your query output to an Excel file in SQL Developer?
If so, you’ll see the complete steps to accomplish this goal.
Steps to export query output to Excel in SQL Developer
Step 1: Run your query
To start, you’ll need to run your query in SQL Developer. You can run any query based on your needs.
Step 2: Open the Export Wizard
Once you’re done running the query in SQL Developer, you’ll see the query output at the bottom of your screen.
Right-click on any cell on the query results, and then select the ‘Export…‘ option from the drop down menu.
You’ll then see the Export Wizard.
Step 3: Select the Excel format and the location to export your file
Now you’ll need to:
- Select the Excel format from the drop-down list. You can choose the xlsx format for recent versions of Excel, or the xls format for previous versions of Excel
- Click on the ‘Browse…‘ button to select the location where the Excel file will be saved
- Press on the ‘Next >‘ button once you are done
Step 4: Export the query output to Excel
For the final step, click on the ‘Finish‘ button to export the query output to Excel.
Conclusion
You just saw how to export your query output to Excel in SQL Developer. You can choose to export your query results to either the xlsx format for newer versions of Excel, or the xls format for previous versions of Excel.
If you need to export your query output to a CSV file, you may then check the following guide that explains the steps to export your query results to CSV in SQL Developer. Alternatively, you may apply spool to accomplish the same goal.