Entering content frameProcedure documentation Exporting Structures of Tables and Indexes Locate the document in its SAP Library structure

Use

You can use SAPDBA for Oracle to export structures of tables and indexes. Structures are the table and index definitions.

Prerequisites

Procedure

  1. Choose Export/Import ® Export structures of tables and indexes.
  2. Enter the objects that you want to export by specifying one of the following names:

Note

To export Oracle system objects, choose Owners, then enter all . In reply to the prompt Including owners SYS and SYSTEM, enter y for yes.

  1. Enter the Working directory.
  2. This is the working directory for the export. The default is <SAPDATA_HOME>/sapreorg or <SAPREORG> , based on the environment variable SAPREORG . Logs and scripts are saved in this directory. For more information on <SAPREORG> , see Environment Variables (UNIX) and Environment Variables (Windows NT).

  3. Enter the required storage parameters under Storage parameters.
  4. Choose Start to prepare for the export.

SAPDBA prepares for the export by:

SAPDBA creates the following scripts and parameter files:

  1. Choose how to start the export:

Note

If you start the export in the background, tables generated after the export scripts have been created are not exported.

Result

On successful completion, SAPDBA displays a confirmation message.

If there has been an error, SAPDBA displays the appropriate error message. You can restart the export after fixing the problem.

If necessary, you can import the exported data. You can also import structures singly using SQL scripts.

Leaving content frame