The Loader can process a range of commands and SQL statements, including Loader-specific commands for exporting data.
Creating a Database Session: Commands
<export_command> ::=
EXPORT<part_spec>
[<configuration_instream_spec>]
[<order_clause>]
(<catalog_outstream_spec> <data_outstream_spec>
|<catalog_outstream_spec>
|<data_outstream_spec>
[<longfile_spec>...])
[<package_outstream_spec>]
[<restart>]
The range of commands of the Loader makes it possible to export, with increasing granularity, a complete database, the objects of a user, the objects of a schema or individual tables.
You can use the syntax rule
<part_spec> ::= DB | USER | SCHEMA <schema_name> | TABLE <table_name>
to specify the required granularity. That is, you can specify whether you want to export all data, the data of a user, schema or a table.
You can export a set of columns of a table using the EXPORT COLUMNS command.
Under consideration of the granularity, the export commands can be classified as follows:
What is to be exported? |
Loader command (abbreviated) |
|
<part_spec> ::= DB |
Entire database catalog and all application data |
EXPORT DB |
Entire database catalog |
EXPORT DB |
All application data of the database |
EXPORT DB |
|
See also: EXPORT DB Commands |
|
<part_spec> ::= USER |
Database catalog and all the application data of a user |
EXPORT USER |
Database catalog of a user |
EXPORT USER |
All application data of a user |
EXPORT USER |
|
See also: EXPORT USER Commands |
|
<part_spec> ::= SCHEMA <schema_name> |
Database catalog and all the application data of a schema |
EXPORT SCHEMA <schema_name> |
Database catalog of a schema |
EXPORT SCHEMA <schema_name> |
All application data of a schema |
EXPORT SCHEMA <schema_name> |
|
See also: EXPORT SCHEMA Commands |
|
<part_spec> ::= TABLE <table_name> |
Database catalog and all the application data of a table |
EXPORT TABLE <table_name> |
Database catalog of a table |
EXPORT TABLE <table_name> |
All application data of a table |
EXPORT TABLE <table_name> |
|
See also: EXPORT TABLE Commands |
Other Commands
Export set of qualified columns of a table |
EXPORT COLUMNS See also: EXPORT COLUMNS Commands |
See also:
Exporting and Importing: Syntax Elements
Exporting and Importing LONG Values
Exporting and Importing Using Third-Party Backup Tools