Answer Posted / raghunanda
---With date from existing table to new table.
SQL> create table new_table_name as select * from old_table_name where 1=1;
---without data
SQL> create table new_table_name as select * from old_table_name where 1=2;
Thanks,
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why we use cross join?
What is write ahead logging in sql server?
How many tables can you join in sql?
How you improve the performance of sql*loader? : aql loader
tell me about various levels of constraint. : Sql dba
Which is the correct statement about truncate and delete?
what are different types of collation sensitivity? : Sql dba
Enlist the characteristics of pl/sql?
What is sql analyzer?
Explain the uses of control file.
What is meant by cursor in sql?
What is sql architecture?
how to install mysql? : Sql dba
How do you create a unique index?
what is index? : Sql dba