>> >>*-- I need to update the column eqpmsch.month_week and set it to 1 where it is greater than 1. >> >>*-- The following SQL Select will select the rows I need to update. >>select eqpmsch.month_week from eqpmsch join pm_task on pm_task.task_no = eqpmsch.task_no >>where pm_task.freq = 12 and eqpmsch.month_week > 1 >> >>*-- This is my attempt at creating a SQL Update >>update eqpmsch set month_week = 1 where select eqpmsch.month_week from eqpmsch join pm_task on >>pm_task.task_no = eqpmsch.task_no where pm_task.freq = 12 and eqpmsch.month_week > 1 >> >>>>
>>update eqpmsch set month_week = 1 from eqpmsch join pm_task on >>pm_task.task_no = eqpmsch.task_no where pm_task.freq = 12 and eqpmsch.month_week > 1 >>>>