Below is the OLE DB Command transformation SQL command. All I am doing is checking variable value and updating the IsRegistered column on tablePerson(when 0 or null, updating to 1, otherwise updating IsRegistered to 0). But for some reason, null values are not updated. Please help.
UPDATE tablePerson
SET
IsRegistered=(CASE ? WHEN 0 THEN 1 WHEN IS NULL THEN 1 else 0 end)
WHERE Id=?