name | gender anthony m micheal m jane f kim f
name | gender anthony f micheal f jane m kim m
UPDATE [MyTable] SET GENDER = CASE WHEN GENDER='M' THEN 'F' WHEN GENDER='F' THEN 'M' ELSE GENDER END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)