PL/SQL developer export data scripts and data-reprint

Source: Internet
Author: User

Http://www.cnblogs.com/yan5lang/archive/2009/10/09/1579645.html

Please go to view the original article. The following is a modified version of hl3292.

 

If you only export the table structure (Table creation statement) and do not export the table data, you can use tools -- Export user objects.

Select the table to be exported, set the export path and parameters, and click "Export ".

PS: This method can only export tables belonging to this user. Tables of other users cannot be exported. We recommend using command line Export (exp, IMP)

You can use tools -- export tables to export all the table structures, table data, triggers, and functions.

You can select multiple tables to export. There are three export methods:

Oracle export, SQL insert, PL/SQL developer
The first is the file format exported as. dmp. The. dmp file is binary and can be cross-platform and contain permissions, which is very efficient and widely used.

The second type is exported as a. SQL file, which can be viewed in a text editor and has good versatility, but is not as efficient as the first type. It is suitable for importing and exporting small data volumes. Note that there cannot be large fields (blob, clob) in the table. If so, you will be prompted not to export them. You can export them in the first and third ways.

Third, export. ,. you can only use PL/SQL developer to import and export files in the format of PL/SQL developer. You cannot use the editor to view the files.

PS: The table structure and index structure remain unchanged after the "Oracle export" method is used for export and re-import. The other two methods both change the index type.

The import is the same as the export.

 

 

 

1. Complete Method for exporting the entire database table structure, that is, the DMP file:
Tools --> export tables, select the Oracle export default option, and select an output target in the output file
Click Export to export the table structure.


2. Export table data:
Tools --> export tables: Selecting SQL inserts to export large fields (clob, blob ).
Select the table to be exported, select the export target in the output file, and click Export to export the table. There are several options
You can remove all optional items and export them directly.

3. Export the database creation scripts for All or selected tables in the database:
Tools --> Export user objects remove the following three include * Optional options, select single file) in the output file
Select the output target and click Export.

 

 

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.