Export structure only

Backup, Recover, Import, Export, Datapump, etc
Post Reply
Trevisolli
Moderador
Moderador
Posts: 2016
Joined: Wed, 12 Jan 2005 3:25 pm
Location: Araraquara - SP
Abraço,

Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP

Environment information:
* Oracle version: 10.2.0.1.0
* Operating system: Win 2003

Good afternoon, personal.
I need a help from the gurus here from the forum.

Problem:
I need to export all the structure of my database (tables, triggers, fk's, PK's etc), but without the information (Dice).

First I thought of reading my data dictionary and, create this structure with CREATE AS SELECT...

that way, it will not create the references, triggers etc I need it.

Is anyone ever going through this and / or can you give us a help?

Thanks.
gilbertoca
Rank: DBA Sênior
Rank: DBA Sênior
Posts: 372
Joined: Tue, 24 Jan 2006 3:33 pm
Location: Palmas - TO
Contact:

Use the EXP utility, but with the ROWS=N option
that same option for the IMP utility, even with a real dump with data.

Gilberto
Trevisolli
Moderador
Moderador
Posts: 2016
Joined: Wed, 12 Jan 2005 3:25 pm
Location: Araraquara - SP
Abraço,

Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP

Gilberto,

again grateful for the answer.
Ball show.
fabio.averbuch
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 10
Joined: Fri, 28 Mar 2008 2:59 pm
Location: PORTO ALEGRE
FABIO AVERBUCH
DBA ORACLE
PORTO ALEGRE/RS

If you do not have tables yet in this schema you can export with the expdp utility (DataPump Export) using the CONTENTS=METADATA option
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests