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
List the ways to get the count of records in a table?
What is a sql select statement?
what is a relationship and what are they? : Sql dba
Which normal form is best?
How do you concatenate in sql?
What is the use of function "module procedure" in pl/sql?
What is cursor and its types?
Explain the uses of a database trigger?
Is it important to partition hard disk?
What is the location of pre_defined_functions.
Why is a primary key important?
what is the command used to fetch first 5 characters of the string? : Sql dba
What are reports usually used for?
What is break?
what are string data types? : Sql dba