I need your help. I would like to transform (re-calculate) a date column by randomly changing only the month and day and keeping only the year. This task aims to anonymize the date of birth for certain people.
For example: For this original date: '1996-07-04' to be '1996-12-01'. (let's say. it could be anything else instead of day and month).
OriginalDateBirth | AnonymDatebirth |
---|---|
1996-07-04 | 1996-12-01 |
1955-01-01 | 1955-04-09 |
Do you think you can help me with a sql statement, function that can implement it?
Thanks :)