Reputation: 113
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)?
Upvotes: 1
Views: 7514
Reputation: 1
Use CNTRL to select the tables and then right click to select EXPORT option. Then select'format' as xlsx/csv/xls etc etc. Give the location to save the file. Boom you got your table dumps in an excel
Upvotes: 0
Reputation: 22427
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.
Upvotes: 5
Reputation: 142705
(Oh, that!) Jeff Smith knows it: Exporting Multiple Tables to Multiple Excel Spreadsheets
Upvotes: 1