RE: view re-creation

From: Jack van Zanen <>
Date: Sun, 19 Jul 2009 00:41:28 +1000
Message-ID: <008a01ca07b5$d80917b0$881b4710$_at_com>

Use expdp to dump the view definitions and use impdp to write them all to a textfile.  

For an example lookup include in this link xport.htm#i1009903  

> expdp hr/hr INCLUDE=VIEWS DUMPFILE=dpump_dir1:exp_inc.dmp NOLOGFILE=y

From: [] On Behalf Of Ram Raman
Sent: Saturday, July 18, 2009 2:39 AM
To: D'Hooge Freek
Cc: Bobak, Mark; Gus Spier; ORACLE-L
Subject: Re: view re-creation    

We directly imported the views in to the target database using datapump without going through a text file. That worked for us. We have achieved what we wanted.    

However, it will still be nice to be to find a solution to be able to edit the files if needed for future. We will test out ddlwizard too.

Thanks to everyone who helped.    

On Fri, Jul 17, 2009 at 1:18 AM, D'Hooge Freek <> wrote:

If you are on 10g or higher you could use datapump to extract only the views (using the include parameter).
And then import it into the other database.

Freek D'Hooge
Oracle Database Administrator
tel. +32 (0)3 451 23 82 <> disclaimer  

Checked by AVG -
Version: 8.5.375 / Virus Database: 270.13.17/2242 - Release Date: 07/16/09 18:00:00

Received on Sat Jul 18 2009 - 09:41:28 CDT

Original text of this message