How to export large amount of data using sql devel

2020-06-02 04:12发布

I want to upload some data from UAT DB to DEV DB. When I try to do this from Export function in SQL Developer, I got an error File C:\Users\xxx\export.sql was not opened because it exceeds the maximum automatic open size

How can I copy the UAT data to DEV ?

ORACLE Version 12C
SQL Developer Version 4.0.0.13

标签: oracle
8条回答
我想做一个坏孩纸
2楼-- · 2020-06-02 04:58

There is a trick to copy large chunk of data (from SQL developer) into excel sheet.

steps to be followed : Right click ---> export data ----> select format type as 'Text' ---> select type as "Clipboard" ----> open an excel sheet and try to paste keeping the below in mind :)

Then paste the data NOTE : **Do Not paste the data on the first cell of the excel. Ctrl+v in any of the columns **

This will work.

Thanks

查看更多
Bombasti
3楼-- · 2020-06-02 05:01

You can use spool the query and save the results as CSV or XLSX files for larger results. For example:

spool "D:\Temp\Report.csv"
SELECT /*csv*/ select id,name,age from EMP;
spool off;
查看更多
登录 后发表回答