update org_links
SET ENDUSER_CNT = active_ur, SET ACTIVE_ACCNTS_CNT = active_accounts
FROM #temp, #temp2
WHERE #temp.org_id = org_links.org_id, #temp2.org_id = org_links.org_id
Mistake that I'm getting is Error 156: "Incorrect sintax near a keyword SET"
SET ENDUSER_CNT = active_ur, SET ACTIVE_ACCNTS_CNT = active_accounts
FROM #temp, #temp2
WHERE #temp.org_id = org_links.org_id, #temp2.org_id = org_links.org_id
Mistake that I'm getting is Error 156: "Incorrect sintax near a keyword SET"