Oracle database new table

E

EMW

Is it not possible to just create a new table in an existing database with
CREATE TABLE and without copying an existing table?

I have an empty database and when my program detects the tables aren't
there, I want it to create the table.
But according to the documentation I need to use INSERT * INTO table FROM
othertable
but there is no other table.

rg,
Eric
 
R

Rob Panosh

Eric,

Use the CREATE TABLE command (see oracle documentation).

Example:
CREATE TABLE customer ( custid number(10,0) NOT NULL, firstname
varchar2(10) )

Hope this helps.

Regards,
Rob
 
E

EMW

thanks that helps a lot!

Rob Panosh said:
Eric,

Use the CREATE TABLE command (see oracle documentation).

Example:
CREATE TABLE customer ( custid number(10,0) NOT NULL, firstname
varchar2(10) )

Hope this helps.

Regards,
Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top