Update just one field from backup
- by justSteve
I'm looking to restore one field from a backup and can't find the syntax for an update statement that can look at 2 different catalogs.
Seems like it should be something fairly close to:
update users set idUserCompany =
(select idUserCompany from .myBackup.dbo.users uT)
where uT.idUser = idUser