How to add plus one (+1) to a SQL Server column in a SQL Query
"UPDATE TableName SET TableField = TableField + 1 WHERE SomeFilterField = @ParameterID"
You need both a value and a field to assign it to. The value is TableField + 1
, so the assignment is:
SET TableField = TableField + 1