abware
Programmer
- May 16, 2007
- 3
why? why this is not working?
I can’t update 2 tables in one statement?
update pd, p
set pd.show = 0 , pd.seashow = 0, p.StockLimited = 0
FROM ProductDetail pd
join Products p on p.itemid = pd.ItemID
where pd.show = 1
and pd.site in (5,2,9)
I can’t update 2 tables in one statement?
update pd, p
set pd.show = 0 , pd.seashow = 0, p.StockLimited = 0
FROM ProductDetail pd
join Products p on p.itemid = pd.ItemID
where pd.show = 1
and pd.site in (5,2,9)