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

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "wellmetus@xxxxxxxxx" <wellmetus@xxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 1 Dec 2009 15:42:40 -0700

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.

Other related posts: