Transfer data from 2 DB Diff

  • I have 2 database the name are 1DB,2DB and i need transfer some data from field of table 1DB to some field of table 2DB How can i do ?. As i did it i used import data and doesn't match what i need. Thanks in advance.

  • Assuming both databases are on the same server:

    INSERT INTO DB1.schema.table

    ()

    SELECT ...

    FROM DB2.schema.table

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

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

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