Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Getting Table / Index creation script
fred wrote:
> Hello,
>
> is there any view where I could get the creation script of an existing table
> ?
> Same question for an index.
>
> Thanks.
>
> Fred.
To do this use the dbms_metadata built-in package.
An easy to follow demo can be found in Morgan's Library at www.psoug.org.
HTH
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Mon Mar 20 2006 - 10:37:07 CST