RE: list table names in a export dump file (9i)

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Tue, 1 Dec 2009 15:42:40 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E112EB0F97D_at_ONEWS06.oneneck.corp>



You have to "specify FULL=Y or provide FROMUSER/TOUSER or TABLES " with the import command in addition to show=y just as the error indicates.

But, wouldn't it be easier to just generate the truncate script with a query on the source database like this:

select 'truncate table ' || table_name || ';' from dba_tables where <insert desired filter conditions here>;

Regards,
Brandon



Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Dec 01 2009 - 16:42:40 CST

Original text of this message