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
Note: Backup used here in a generic sense. The point is that i have good data in the database named .myBackup and need to pull one file into my production db where a match exists in the idUser field between backup and production.
How's a join look in an update statement?