Prior to insert (into #JobListTable) I need to change the value of the 't2.plant_id' column (from #EquentialJobListTable). This column will have a value of 110, 300 or 320. If 110 then value should be SBGB2, if 300 then values should be RGWP and if 320 value should be RGWP. Is this possible to do? INSERT #JobListTable ( job_date, job_number, job_phase, qty_received, plant_id )SELECT t2.job_date, t2.job_number, t2.job_phase, t2.qty_received, t2.plant_idFROM #EquentialJobListTable AS t2LEFT JOIN #JobListTable AS t1 ON t1.job_date = t2.job_date AND t1.job_number = t2.job_number AND t1.job_phase = t2.job_phaseWHERE t1.job_date IS NULL