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...

i have 4 tables.. T1, T2, T3, T4..
these tables have the same structure and they store the
information entered in different years..
T1 stored 2002, T2 stored 2003, T3 stored 2004 and T4 stored
2005..

i want to copy contents in T1 to T2, T2 to T3, T3 to T4 and
T4 to T1..
how do i do that? Temp tables cannot be used..

Answer Posted / gaurav

dear u can do like

insert into t2 select * from t1
insert into t3 select * from t2
.
.
.
.
so on

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the different topologies in which replication can be configured?

1019


How to select an exiting database using mssql_select_db()?

905


What Are the Main Features of SQL Azure?

115


hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.

2024


How to use transact-sql statements to access the database engine?

994


How to execute stored procedure and set temp table in sql server?

990


What is impersonation? What are the different impersonation options available in ssas? : sql server analysis services, ssas

921


Do you have any idea about the tcl commands?

909


What does the on delete cascade option do?

962


How do you send email on SQL Server?

996


What sql server means?

908


Explain indexed views?

922


Tell me about the approaches which you used to counter the DI problems.

1266


How many partitions a clustered index has by default in sql server 2012?

1049


Do you know what are acid properties of transaction?

907