I have two tables:
Master Table Assets Table -AssetNo- -AssetNo-
AssetNo is PK, and it is a foreign key for linking two tables. Now I would like to update using:
UPDATE Assets SET status = 1 FROM Assets, Master WHERE Assets.AssetNo = Master.AssetNo
If I use this command, all assets with the same AssetNo will be automatically updated to 1.
How to encode a specific AssetNo IE: WHERE 111(from Assets)=111(from Master)
source share