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
Who is the owner of a schema in ms sql server?
Tell about MOM Tool(Microsoft Operator Manager)?
What do you understand by hotfixes and patches in sql server?
What are indexes in ms sql server?
What is an execution plan? When would you use it?
Where is trigger in sql server?
How you provide security to cube? : sql server analysis services, ssas
How to write a query with a right outer join in ms sql server?
What is difference between stored procedure and user defined function?
How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication
What are the restrictions applicable while creating views? : SQL Server Architecture
What is ms sql server index?
How many types of the database links?
How can you insert null values in a column while inserting the data?
Explain about protocol layer present in SQL server?