Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: is there any way to get the view definition after creating the view?

Re: is there any way to get the view definition after creating the view?

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 16 Feb 2006 16:30:01 -0800
Message-ID: <1140136194.36308@jetspin.drizzle.com>


Ramu wrote:
> Hai,
>
> Please tell me how can we get the definition of view after the creation
> of a view?

set long 1000000

SELECT dbms_metadat.get_ddl('VIEW', 'name_of_the_view) FROM dual;

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Thu Feb 16 2006 - 18:30:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US