Click here to Skip to main content
15,301,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How i can copy data from one table to another table in database.
Posted

I dont have any idea can u help me
   
Hello,
Yes you can copy the data of one table to another with the help of the following code given below

select * into NewTable from Oldtable


above new table is the name of a new table which will b automatically created for you and the oldtable is the name of the table from where u wana copy the data

You can also go for bulk copy method but i feel the above method is the simplest.

Do rate my answer once you find it useful

Thanks & Regards
Radix :rose:
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900