Previous |
Next |
This tutorial shows how to use the SQL Developer tool Database Export to create an installation script file for the data of the sample application. If you followed the instructions in this document, you added data only to the table PERFORMANCE_PARTS
.
Note: In the following procedure, you might have to enlarge the SQL Developer windows to see all fields and options.
To create an installation script file for the data:
If you have not done so, create the directory C:\my_exports
.
In the SQL Developer window, click the menu Tools.
A drop-down menu appears.
From drop-down menu, select Database Export.
The Source/Destination window opens.
In the Source/Destination window:
In the File field, type: C:\my_exports\2day_data.sql
.
From the Connections drop-down menu, select hr_conn.
Accept the default DDL Options, Terminator and Pretty Print.
Click Next.
The Types to Export window appears.
In the Types to Export window:
Deselect all check boxes except Data.
Click Next.
The Specify Data window appears.
In the Specify Data window:
In the drop-down menu with the value HR
, accept that value.
Click Go.
A list of the tables in schema HR
appears.
Select HR.PERFORMANCE_PARTS.
Click >.
HR
.PERFORMANCE_PARTS
moves from the original column to the other column.
Click Next.
The Export Summary window appears.
In the Export Summary window, click Finish.
The Exporting window opens, showing that exporting is occurring. When exporting is complete, the Exporting window closes, and the SQL Worksheet shows the contents of the file C:\my_exports\2day_data.sql
.