I need to update a single column from a backup version of a database. I've restored the backup to a different db location and am running the following:
update table_name
Set
column = restoredDB.dbo.table_name.column
From restoredDB.dbo.table_name
Where restoredDB.dbo.table.ID = table_name.ID
The following result is returned:
The multi-part identifier "table_name.ID" could not be bound
The ID field is a primary key, bigint. I've found many postings on the topic of "multi-part identifier could not be bound" however they don't seem to apply to my situation. Could someone explain why this is happening and how to correct the error?
Thx.