I have something like this in mind:
UPDATE [MyTable]
SET [SomeField] = 1
WHERE [SomeField] is NULL
Will it work or is it like modifying a collection while iterating over it?
Or maybe write something like this?
UPDATE [MyTable]
SET [SomeField] = 1
WHERE [ID] IN (SELECT [ID]
FROM [MyTable]
WHERE [SomeField] is NULL)