1 How to use plsql developer to import table data

Situation of leading a small amount of table

1.1 Export

Click 'Tools' - 'Export Table':

Select the users and tables to be exported, specify the 'Output File' in 'PL/SQL Developer', and click the 'Export' button to start the export:

 After the export is complete, the bottom will prompt 'Exporting table... Completed'.

-- If you only want to export the table structure, you can specify 1 = 2 in the where clause, for example:

 1.2 import

 For example, if you select 'delete table', the table will be dropped before importing, and then imported

The case of the second derivative scale

If you want to import many tables, it is too troublesome to select the tables one by one, you can write an OSF file and import them in batches.

Example:

2.1 Export

2.1.1 Create a new osf file

Write the table to be exported in the following format:

PL/SQL Developer Object Selection File

N

TABLE " username"."Table1"

TABLE " username"."Table2"

TABLE " Username"."Table 3"

The N in the second row identifies the total number of tables to be exported.

Example:

2.1.2 Export

Click 'Tools' - 'Export Table':

 Select users to export:

 Right-click one of the tables at will, click 'Load Object Selection':

 Select the newly created osf file:

 It is found that plsql developer will automatically select the specified table according to the osf file, and then select the directory to store the exported file, and then export it:

2.2 import

The import method is the same as before.

Guess you like

Origin blog.csdn.net/YABIGNSHI/article/details/131662011