Update query throw errorI have to update the status flag as below
Update table1 Set StatusFlag = 'C'
where StatusFlag ='O'
and DateFirst < '2011-12-01 00:00:00.000' and Deleted = 0
Subquery returned more than 1 value. This is not permitted when the
subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.