Query between join database

  • Hi,

    I would like to make a query for to join two tables from two different database.

    How can I do for create en link between this database.

     

    Thanks

     


    Kindest Regards,

    degrem_m
    Degremont

  • I think following should work

    select A.*, B.*

    FROM DBA.dbo.TABLEA A INNER JOIN

            DBB.dbo.TABLEB B ON A.Id = B.FId

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

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