How can I create a table from another table without copying
any values from the old table?
Answer Posted / anji
create table table_name as ( select * from old_table where 1=2)
from this query we can create a new table structure from old
table structure with out data
| Is This Answer Correct ? | 26 Yes | 1 No |
Post New Answer View All Answers
What is embedded sql in db2?
How do you write a subquery?
Which query operators in sql is used for pattern matching?
What trigger means?
What is the reports view in oracle sql developer?
Is left join same as join?
What is exit statement?
How do I trace sql profiler?
how to do backup entire database? : Transact sql
What are the subsets of sql?
How can we store rows in PL/SQL using array?
What is a rank in sql?
When do we use triggers?
What is sql lookup?
What are the different type of joins in sql?