The use of PL / SQL export and import data from an Oracle database

Transfer: https: //www.jb51.net/article/109768.htm

Examples herein share a method of using PL / SQL export and import data from an Oracle database, for your reference, as follows

1. Export data:

One way: Tools -> Export User Objects -> Export .sql file 

Note: This table was built way to export statements and stored procedures statement

Write pictures described here

Second way: Tools -> Export Table 

NOTE: This is the structure and data export table

The first way to export .dmp file formats, .dmp are binary files, cross-platform, but also includes rights, good efficiency, with the most widely used.

A second way to export .sql file format, available text editor to view, better versatility, efficiency is not as good as the first, for a small amount of data import and export. In particular, note that the table can not have a big field (blob, clob, long), if any, will prompt can not be exported (tips are as follows: table contains one or more LONG columns can not export in sql format, user Pl / sql developer format instead) .

The third way to export .pde format files, .pde for the PL / SQL Developer's own file format, only with PL SQL Developer tool to import / export, can not be viewed with a text editor.

Write pictures described here

2. Data Import (Tools → Import Tables ...)

1. Import oracle .dmp file type.

Write pictures described here

2. Import .sql types of oracle file.

Write pictures described here

3. Import .pde type of oracle file.

Write pictures described here

That's all for this article, we want to be helpful to learn, I hope you will support script home.

Guess you like

Origin www.cnblogs.com/sharpest/p/11074643.html