With this SAP DB Loader
command, you can control the unloading of database tables.Syntax
<tableextract_statement> ::=
TABLEEXTRACT <
You can also use the keywords EXTRACT DATA instead of the
keyword DATAEXTRACT.Prerequisites
When you use TABLEEXTRACT TABLE, the source table must exist in the database instance.
THE command TABLEEXTRACT ALL can only be executed by the
SYSDBA user.
Use
You cannot change the data streams.
Tables are write-protected while they are unloaded to the data stream.
<part_spec>
owner of this table.Data Stream: <dataoutstream_spec>
The data streams
<dataoutstream_spec> are created during unloading.When it processes the commands
TABLEEXTRACT ALL and TABLEEXTRACT USER, the SAP DB Loader creates one or more data streams (depending on the size of the tables it is unloading), each of which can contain the application data from one or more tables. The SAP DB Loader specifies the maximum size of a single data stream as 1 GB.The media names for the data streams are created using the name specified in the command, in that a four digit extension of the format
0001 is added to the name. The maximum number of media for each TABLEEXTRACT is therefore set at 9999.The system table
TRANSFORMATIONMODEL and other system tables are filled.Exclude Tables from Unload: <configurationstream_spec>
Unload System Tables: <packagestream_spec>
If possible, you should not unload the system tables.
Result
The specified tables are unloaded to the data streams
<dataoutstream_spec>.If necessary, all entries of the table TRANSFORMATIONMODEL are unloaded in the data stream
<packagestream_spec>.You can reload the tables using the corresponding
TABLELOAD command.Errors
The unload process cannot be successfully completed. In this case, the SAP DB Loader logs the cause of the error in the
log file.The values PACKAGEGUID and CLIENTNODE are both written to the log file. The PACKAGEGUID is required if you want to restart the unload process.