0
votes

I would like to export (some of) the contents of multiple tables I can see with Oracle SQL Developer into a single excel file. This is, I expect one sheet with several sheets - one for each table.

However, when the export is finished, the excel file has only the sheet of the last table I selected.

Could it be that SQL Developer keeps overwriting the same .xlsx file all along the export process? Or is it a bug (I have version 17.3.1 of Oracle SQL Developer)?

2

2 Answers

4
votes

In SQL Developer, select one or more tables, views, MV's and drag-n-drop them to the Cart.

The Cart is a panel available from the View menu.

Once there, uncheck DDL, and check the Data boxes.

Add filters for the data as appropriate.

Hit the Export Cart button.

Choose - Single File. Choose - XLSX.

SQL Developer will export each data set to a separate workbook in your Excel file.

Note: there was a bug in previous versions of the application that prevented this from working. Upgrade to version 17.4 and it will work just fine.

enter image description here