Print Thread
How does PL/SQL Developer export/import work?
#39106 12/03/10 08:48 AM
Joined: Dec 2010
Posts: 3
A
ava Offline OP
Member
OP Offline
Member
A
Joined: Dec 2010
Posts: 3
Hi,

I'm using PL/SQL Developer 6 with an Oracle 8 database.

PL/SQL Developer provides functionality for exporting and importing tables. I'd like to know, how this export/import works (the mechanism behind). Instead of doing the import/export manually using PL/SQL Developer, I'd like to do it "semi-automatically" from a Java application.

I'm aware, that oracle provides the imp/exp executables and there is a dbms_datapump package (but nor for Oracle 8).

Regards
ava

Re: How does PL/SQL Developer export/import work?
ava #39111 12/03/10 11:07 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
There are 3 formats in PL/SQL Developer:

* Oracle exp/imp format
* SQL Inserts format
* PL/SQL Developer format

The first simply calls Oracle's exp.exe and imp.exe executables with the corresponding parameters to create or read the dump file.

The 2 other formats will read the table data and write it in the form of a file with SQL insert statements or a proprietary compressed data file.


Marco Kalter
Allround Automations
Re: How does PL/SQL Developer export/import work?
Marco Kalter #39113 12/03/10 11:45 AM
Joined: Dec 2010
Posts: 3
A
ava Offline OP
Member
OP Offline
Member
A
Joined: Dec 2010
Posts: 3
Thanks for responding. I'm using the PL/SQL Developer format export/import. Can I call this one from a Java application (using stored procedures or whatever)?

Re: How does PL/SQL Developer export/import work?
ava #39118 12/06/10 10:22 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
No, that is not possible because it is a proprietary format. You would have to use the Oracle or SQL Inserts format. The import can then be done from other applications by calling emp.exe (Oracle format) or by executing the SQL statements in the file (SQL Inserts format).


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.073s Queries: 15 (0.010s) Memory: 2.5060 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-04 06:13:01 UTC
Valid HTML 5 and Valid CSS