I am running the following update satement:
And I get the following error:
"Subquery returned more than 1 value. This is not permitted when the subquery follows =,!=,<,etc."
I've never had a problem doing similar updates in the past. I've only seen this error when the "set" relies on a subquery that returns multiple records. In this case, the "set" is hard coded to 'C'. Anyone have ideas why this is not working?
mwa
<><
Code:
update dbo.SECTION125
set status = 'C'
where emp_id in (select emp_id from Enrollment_Confirmation)
"Subquery returned more than 1 value. This is not permitted when the subquery follows =,!=,<,etc."
I've never had a problem doing similar updates in the past. I've only seen this error when the "set" relies on a subquery that returns multiple records. In this case, the "set" is hard coded to 'C'. Anyone have ideas why this is not working?
mwa
<><