Programming Hub
Tuesday, July 7, 2020
SQL Server Gender Swap Query
UPDATE
tableA
SET
Gender
=
CASE
WHEN
Gender
=
'Male'
THEN
'Female'
ELSE
'Male'
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment