Home » RDBMS Server » Server Utilities » table scripts
table scripts [message #72258] Fri, 25 April 2003 23:29 Go to next message
annu
Messages: 34
Registered: February 2002
Member
hi,
Is there any utility, software or way to obtain tables structure in a script file with constraints. Give me an idea how can i make table scripts in a scripts file with one command or with some kind of utility. while i m using oracle 9i database ..
Re: table scripts [message #72264 is a reply to message #72258] Mon, 28 April 2003 05:18 Go to previous messageGo to next message
Deepa
Messages: 269
Registered: November 2000
Senior Member
u can use Toad (quest software)
to generate the scripts.
Re: table scripts [message #72269 is a reply to message #72264] Tue, 29 April 2003 06:21 Go to previous messageGo to next message
yaojp
Messages: 5
Registered: April 2003
Junior Member
you can use PLSQL Developer to generate the scripts
Re: table scripts [message #72275 is a reply to message #72258] Wed, 30 April 2003 06:02 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
if you cannot afford those tools mentioned by others, with 9i you also make use of this builtin
dbadmin@jumpstart1_mutation > create table  sample
  2  (id number,
  3   name varchar2(10));

Table created.

dbadmin@jumpstart1_mutation > select dbms_metadata.get_ddl('TABLE','SAMPLE') from dual;

DBMS_METADATA.GET_DDL('TABLE','SAMPLE')
--------------------------------------------------------------------------------

  CREATE TABLE "DBADMIN"."SAMPLE"
   (	"ID" NUMBER,
	"NAME" VARCHAR2(10)
   )

dbadmin@jumpstart1_mutation > 

Previous Topic: SQL LOader
Next Topic: Reg. Importing DMP files
Goto Forum:
  


Current Time: Tue Jun 18 06:19:47 CDT 2024