Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to copy a table in another table with datas?

Answer Posted / guest

If new table is not yet created,
create table new_table as select * from old_table;

if new table is already created,
insert into new table select * from old_table
provided the structure of the new table is same as old
table.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I sort a table in sql?

1021


Which data type is a composite type?

974


Explain correlated query work?

1041


What is auto increment in sql?

1099


What is rownum?

964


What are the ddl commands?

990


What are sql constraints?

1160


What is before and after trigger?

933


How is indexing done in search engines?

972


how to present a past time in hours, minutes and seconds? : Sql dba

991


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

980


What is pl sql record in oracle?

1011


Can we use ddl statements in stored procedure sql server?

990


What is left join example?

934


explain the advantages and disadvantages of stored procedure? : Sql dba

991