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 a Query to copy data from on table to another table.

Answer Posted / rajeshbargode

we have to use INSERT INTO method.
with the use of this method we can easily transfer records
from one table to another table.we can not only use this
method in the same server but can aslo be done across the
server.for exmaple.if we have two table A1 and A2 then the
code is
INSERT INTO A2 select * from A2.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what changed between the previous version of sql server and the current version? : Sql server database administration

1014


What are the advantages of sql stored procedure?

1074


What is filter index?

951


How to create a store procedure with encryption?

1006


What is the maximum rows in sql server table?

913


A user is a member of the public role and the sales role. The public role has select permission on all the tables. The sales role does not have select permission on some of the tables will the user be able to select from all tables?

962


How to create “dependant” parameter “make, model, year”

131


What is spid in sql server profiler?

1108


If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?

945


Why use identity in sql server?

1106


What is the difference between update lock and exclusive lock?

976


how would you improve etl (extract, transform, load) throughput?

1028


What is the purpose of indexing?

1046


Explain tablesample?

1000


Can two tables share the same primary key?

927