Documente Academic
Documente Profesional
Documente Cultură
Print Preview
Importing and Exporting using the Oracle SQL Developer 3.0
Importing and Exporting using the
Oracle SQL Developer 3.0 Purpose
This tutorial contains the following sections: This tutorial shows you how to import and export your database objects using Oracle SQL Developer 3.0.
Purpose
Time to Complete
Time to Complete
Overview Approximately 20 minutes.
Prerequisites
Creating a Database Connection
Overview
Configuring the Import Environment Oracle SQL Developer is a free graphical tool that enhances productivity and simplifies database development tasks. Using
Importing Data into a Table using Insert Method SQL Developer, users can browse database objects, run SQL statements, edit and debug PL/SQL statements and run
Configuring the Export Environment
reports, whether provided or created.
Export the Database Default connectivity to the database is through the JDBC Thin driver, hence an Oracle Home is not required. To install SQL
Exporting from the Data Grid Developer, simply download and unzip the file. SQL Developer users can connect to any supported Oracle Database.
Summary
Oracle SQL Developer 3.0 introduces a DBA Navigator and provides support for DBMS Scheduling. Other features include a
new Query Builder, SQL Tuning Advisor, and Explain Plan Diff utility. For a complete list of new features, click here.
3 . Unlock the HR user. Login to SQL Developer as the SYS user and execute the following command:
alter user hr identified by hr account unlock;
4 . Download and unzip the files.zip file that contains all the files you need to perform this tutorial.
1 . If you installed the SQL Developer icon on your desktop, click the icon to start your SQL Developer session. If you
do not have the icon located on your desktop, find the executable file (either named "sqldeveloper.exe" on Windows
or "sqldeveloper.sh" on Linux), and run it.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 1/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 2/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 3/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
4 . The New / Select Database Connection dialog window opens. Enter the connection details as follows:
Configuring the Import Environment
Importing Data into a Table using Insert Method Connection Name: hr_orcl
Configuring the Export Environment Username: hr
Password: <your_system_password>
Export the Database Hostname: <your_machine>
Exporting from the Data Grid SID: <your_SID>
Summary
Click Test.
Viewing Screenshots
5 . If the status is success, click Save to save the connection, and then click Connect.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 4/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Perform the following steps to set the preferences in your Import Wizard.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 5/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
2 . In the preferences navigator, expand Database and select Import.
Click icon to hide all screenshots Here you can specify default properties for import. Set the Import Row Limit to 100 to be able to view 100 rows at a
time. This helps while working with large files. Set a value for the Preview File Read Maximum. This ensures that
Note: Alternatively, you can click an individual icon (or
the entire file is not read into the memory.
image) associated with each step to view (or hide) the
screenshot associated with that step.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 6/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
3 . Expand File Formats in the preferences navigator. There are four types of file formats. You can specify default
attributes for each supported format for the imported data.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 7/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
4 . For example, select the Delimited Format to set the default preferences.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 8/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
5 . Select Header to display the first row of data as the header, if this option is not selected then the data is displayed
without a header. Then select the left and right enclosure as '[' and ']' respectively.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 9/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Follow the same steps to set the default preferences for the other file formats.
6.
The Import Methods pane allows you to specify the default mode for importing data into the existing table or a new
table.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 10/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
External Table: Generates External Table DDL for reading the file.
Staging External Table: Creates a temporary External Table for Importing into a table.
SQL Loader Utility: Generates files for SQL Loader to Import a table.
Select New Table Import Method as Staging External Table from the list.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 11/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Do not specify any values here. The default directory will be used. Click OK.
Note: If you want to specify a default directory, make sure that the appropriate permissions are granted.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 12/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
9 . Select Insert in the preferences navigator and set the Insert Batch Size (Rows) as 50.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 13/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
10 . Select SQL*Loader in the preferences navigator and specify the log and bad files directories here. If the directories
are not specified, by default they will be written to the Import file directory.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 14/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 15/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Perform the following steps to import data into the DEPENDENTS table using Insert Method.
1 . Before importing the data into a table, make sure you have the table with the specified column.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 16/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
2 . Click Data.
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 17/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection 4 . To import the data to the DEPENDENTS table from another location, right-click DEPENDENTS and select Import
Configuring the Import Environment Data.
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
5 . Select the load_dep.dsv file from the directory where you unzipped the files from the Prerequisites section and
click Open.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 18/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 19/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 20/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 21/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
9 . In the Column Definition window, select Name from the Match By drop down to match the Source Data and Target
Data by Name.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 22/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
10 . In the Target Table Columns click the Name drop down and make sure that the Source Data Columns and the Target
Table Columns are mapped correctly.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 23/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
11 . Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 24/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 25/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Click Finish.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 26/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
14 . Click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 27/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview 15 . To view the data, make sure the Data tab is selected and click Refresh to show all the data.
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid Configuring the Export Environment
Summary
You can use the Export wizard to export some or all database objects of a database connection to a file. The export file will
not only contain the SQL data definition language (DDL) statements to create the exported objects, but if you choose to
export the data too, the export file will contain Data Manipulation Language (DML) to populate the exported objects.
Viewing Screenshots
Perform the following steps to set your default environment in the Export Wizard.
Click icon to hide all screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 28/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
3 . Expand the Export/View DDL Options to display all the file format types.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 29/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
4 . You can change default values for the source and target pages in this export wizard.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 30/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
5 . Select Format as insert from the drop down. Insert exports the data in SQL format.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 31/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
6 . Select Save As as Single File to export data into a single file. Click OK to save your settings.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 32/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 33/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
2 . In the Connection drop down, select the connection from which you want to export objects. In this example you
choose the connection hr_orcl.
Click icon to hide all screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 34/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 35/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
4.
Retain the default values of all object types selected. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 36/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
5 . Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 37/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
6 . You can review the information that is used to create the output file. The Export Summary information will contain
statements to export database objects and data according to your specifications. To create the output file, click
Finish.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 38/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
7 . Since the preferences was set to open as SQL file, observe that after exporting, the export.sql file automatically
opens in SQL Worksheet. All the DDL statements in the 'hr_orcl' schema are displayed.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 39/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
8 . You can also export data using Connection Navigator. Perform the following steps:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 40/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
9 . Expand Tables and right-click EMPLOYEES > Quick DDL > Save to Worksheet.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 41/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
10 . The DDL for the EMPLOYEES table is displayed. Scroll to the bottom of the window to view the entire data.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 42/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 43/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
2 . Select Data from the tab.
Viewing Screenshots
3 . To Export the data, right-click anywhere in the data grid and select Export from the context menu.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 44/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 45/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Title: Emplist
Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 46/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
6 . Click Columns.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 47/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
7 . Select the Data Columns, which you want to export. By default, all the object types are selected. To select or
deselect all the object types, click Toggle All check box.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 48/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
8 . In this example you choose the columns EMPLOYEE_ID, FIRST_NAME, LAST_NAME, SALARY and deselect the
others. Click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 49/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 50/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 51/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
11 . Observe that all the employees whose salaries are greater than 10000 are displayed. Click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 52/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
12 . Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 53/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 54/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
14 . If you review the export.pdf file, you should see the following:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 55/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
Summary
In this tutorial, you have learned how to:
Credits
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 56/57
8/21/2017 Importing and Exporting using the Oracle SQL Developer 3.0
Print Preview
Importing and Exporting using the Copyright 2011, Oracle and/or its affiliates. All rights reserved
Oracle SQL Developer 3.0
This tutorial contains the following sections:
Purpose
Time to Complete
Overview
Prerequisites
Creating a Database Connection
Configuring the Import Environment
Importing Data into a Table using Insert Method
Configuring the Export Environment
Export the Database
Exporting from the Data Grid
Summary
Viewing Screenshots
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLdev3.0_Import_Export/sqldev3.0_import_export.htm 57/57