Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Get a CREATE Statement for an Existing Table
How To Get a CREATE Statement for an Existing Table? - Oracle DBA FAQ - Introduction to Oracle SQL Developer
✍: FYIcenter.com
You have an existing table and want to get a CREATE statement for that table, you can use the SQL tab in the object view. The following tutorial steps show you how to use SQL Developer to generate a CREATE statement on an existing table:
In a moment, you will get the following CREATE statements:
REM HR JOBS
CREATE TABLE "HR"."JOBS"
( "ID" VARCHAR2(10 BYTE),
"TITLE" VARCHAR2(35 BYTE) CONSTRAINT "TITLE_NN"
NOT NULL ENABLE,
"MIN_SALARY" NUMBER(6,0),
"MAX_SALARY" NUMBER(6,0),
CONSTRAINT "ID_PK" PRIMARY KEY ("ID") ENABLE
) ;
REM HR ID_PK
CREATE UNIQUE INDEX "HR"."ID_PK" ON "HR"."JOBS" ("ID")
;
2007-04-27, 5521👍, 0💬
Popular Posts:
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized ...
What’s the difference between Unit testing, Assembly testing and Regression testing? Unit testing is...
What Happens If One Row Has Missing Columns? - XHTML 1.0 Tutorials - Understanding Tables and Table ...
How To Avoid the Undefined Index Error? - PHP Script Tips - Processing Web Forms If you don't want y...
What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y...