Quickest way to create a table in Oracle

I found this very easy and quick to create a table, though sort of copy a table to another table.

The syntax is:

create table table_to_create as select * from source_table where 1=0

Hope you find this a little bit of help.

Comments

Popular posts from this blog

Using Oracle 11g thru VirtualBox appliance in Mac OS X Lion

LVM: How to remove a volume using pvremove

Use Shell Editor for Eclipse for editing bash, ksh, csh in Unix/Linux system