I am trying to perform a simple update query in MS SQL.
In mysql I would issue this:
UPDATE TABLE SET FIELD = 1 WHERE FIELD = 2
I am getting an error when I try this in MS visual studio. Please any help with this.
The error:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <=, >, >= or when the subquery is used as an expression. Statement has been terminated.
Thanks.
On the limited information to hand, I suspect you have an update trigger on TABLE which is coded to expect a single row being in the
insertedordeletedtables.