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
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
what is subquery? : Sql dba
What is acid property in a database?
How many sql core licenses do I need?
What is procedure explain with program?
What are stuff and replace function?
Can we use view in stored procedure?
How does index help in query performance?
What is varchar example?
What are the types of join in sql?
What is a trigger in sql?
What is synchronized subquery?
Is it possible to create startup or shutdown trigger for on-schema?
How to select 10 records from a table?
Is a secondary key the same as a foreign key?