Your pseudo-example doesn't resemble updating two tables, both SET operations only update the product-detail table and it's perfectly legit to have a join-condition in an update statement. update pd, p set pd.show = 0 , pd.seashow = 0FROM ProductDetail pd join Products p on p.itemid = pd.ItemID where pd.show = 1 and pd.site in (1,4,6)
But as Qualis said, if you really want to update both tables you have to do it in two operations.--Lumbago