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: How Convert the schema of a table to a Ascci File .SQL

Re: How Convert the schema of a table to a Ascci File .SQL

From: Matthias Gresz <GreMa_at_t-online.de>
Date: 1997/11/17
Message-ID: <64otb3$c1p$1@news00.btx.dtag.de>#1/1

ppp wrote:
>
> How i can convert the schema of a table or user with the format:
>
> create table customers .................
>
> create index ..................
>
> In Informix : dbschema -d <database> -t <tabla>
> this command generate a .SQL that content the sql instruction to create the
> table.
> Thanks and regard from spain.
>
> m5219_at_hotmail.com

Hi,

I think the easiset way is to export the user you want to copy from.

Then create the new user(s) with the 'connect' role as default. Remember to specify default table space for the new user(s). The next step is to import the exported user into the new user. If you want to copy the scheme to several user I think you've to make the last step several times. I never tested it.

-- 
Regards

Matthias Gresz    :-)
Received on Mon Nov 17 1997 - 00:00:00 CST

Original text of this message

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