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

Home -> Community -> Usenet -> c.d.o.server -> Re: table creation scripts?

Re: table creation scripts?

From: <cmohan_at_iname.com>
Date: 1998/04/30
Message-ID: <6iaa0q$taj$1@nnrp1.dejanews.com>#1/1

I don't think you can see the exact CREATE TABLE command that you issued. But you can get the information from
USER_TABLES,
USER_CONSTRAINTS and USER_INDEXES. Do a select on these with the table_name in the where condition.

Hope this helps,
CM
In article <354633C2.1DE4_at_nortel.ca>#1/1,   Peter Chan <chanp_at_nortel.ca> wrote:
>
> I was wondering if there is a tool out there that could help recreate
> table creation scripts.
>
> That is, let's say I wrote a creation script to create a table, then
> after running the script to create the table, I accidently lost the
> script and I would like to be able to look back at the creation scripts
> to see what type of parameters I have set for the table,
>
> ie. constraints, which tablespace table was created on, extent sizes,
> etc...
>
> Thanks a bunch!
>
> --
> ====================================================================
> PETER CHAN, Northern Telecom
> PHONE: (613) 763-9096 FAX: (613) 763-4408 EMAIL: chanp_at_nortel.ca
> ====================================================================
>

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Thu Apr 30 1998 - 00:00:00 CDT

Original text of this message

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