Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

SQL: Copy Data From One Table Into Another (See related posts)

// SQL Query to copy data from one table and insert it into another

   1  
   2  INSERT INTO TABLE2 (COL1, COL2, COL3) SELECT COL1, COL4, COL7 FROM TABLE1

You need to create an account or log in to post comments to this site.


Click here to browse all 5545 code snippets

Related Posts