Copying table with constraints and data

How to copy a table with constraints and data to another table.

Questions by lakshmimadhuri

Showing Answers 1 - 6 of 6 Answers

ugly1

  • Jan 25th, 2008
 

below shown query will copy table with constraints and data into new table. here table_copy is the new table and old_table is the table whose data and constraints are to be copied.

create table table_copy as (select * from old_table)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions