У меня есть две базы данных:
DB1 and DB2
Как сделать что-то вроде:
update myServer.DB1.dbo.hotels.Name = myServer.DB2.dbo.hotels.Name
join myServer.DB2.dbo.hotels on myServer.DB2.dbo.hotels.Code= myServer.DB1.dbo.hotels.Code
where myServer.DB2.dbo.hotels.CountryCoe != myServer.DB1.dbo.hotels.CountryCode