Re: Indexes - how to get details?

From: Paul Baumgartel <paulb_at_pcnet.com>
Date: 1995/09/12
Message-ID: <432s5f$t7c_at_pcnet2.pcnet.net>#1/1


I think it's easiest to use the "indexfile" feature of import. Do the following:

  1. Export the table (structure only) via:

exp username/password file=filename tables=(table_list) rows=n

This will run fast because no table data is written to the export file, only the table and index structure.

Then, to get the index creation DDL, run import as follows:

imp username/password file=filename indexfile=filename.sql

The index file isn't pretty, but everything is there, and you can edit before executing, if you like. Received on Tue Sep 12 1995 - 00:00:00 CEST

Original text of this message