data transfer with in the database

  • i have two tables with in the same database.i have data in one table i have to transfer that data to another table.for that which transformation we use

  • If the tables are in the same database, I would recommend opening up a new query in management studio and using a simple insert:

    [font="Courier New"]INSERT MyNewTable (MyCol1, MyCol2)

    SELECT MyCol1, MyCol2 FROM MyOldTable[/font]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply