PL/SQL export data directly

Source: Internet
Author: User

For queries with a huge result set (tens of thousands of records or more), first query the data to the result table, and then
Exporting data to a file may be inconvenient. This may take a long time and occupy a lot of memory.
Resources. It is better to directly write the result set to the exported file. To do this, you can press SQL
Export query results on the right of the editor... Button to replace the execution button in the toolbar. This will display a bullet
Output menu, where you can choose to export data to CSV format (separated by commas), TSV format (Format
Table delimiter), HTML format, or XML format. After selecting the format, you can specify the exported file
And the query will be run. In this case, the result set is not displayed and can only be written to the exported text.
.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.