By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version() |
|---|
| 5.7.39 |
Records: 10 Duplicates: 0 Warnings: 0
Records: 0 Duplicates: 0 Warnings: 0
Records: 0 Duplicates: 0 Warnings: 0
| id | birthdate | new_bdate |
|---|---|---|
| 1 | 1991-01-23 | null |
| 2 | yyyy-01-23 | null |
| 3 | 1991-mm-23 | null |
| 4 | 1991-01-dd | null |
| 5 | null | |
| 6 | 1991-01-d3 | null |
| 7 | 1983-05-23 | null |
| 8 | 1991-0m-23 | null |
| 9 | 19yy-01-23 | null |
| 10 | y991-01-23 | null |
Rows matched: 8 Changed: 8 Warnings: 0
Rows matched: 2 Changed: 2 Warnings: 0
Rows matched: 2 Changed: 0 Warnings: 0
| id | birthdate | new_bdate |
|---|---|---|
| 1 | 1991-01-23 | 1991-01-23 |
| 2 | null | null |
| 3 | null | null |
| 4 | null | null |
| 5 | null | null |
| 6 | null | null |
| 7 | 1983-05-23 | 1983-05-23 |
| 8 | null | null |
| 9 | null | null |
| 10 | null | null |
Records: 0 Duplicates: 0 Warnings: 0
| id | birthdate |
|---|---|
| 1 | 1991-01-23 |
| 2 | null |
| 3 | null |
| 4 | null |
| 5 | null |
| 6 | null |
| 7 | 1983-05-23 |
| 8 | null |
| 9 | null |
| 10 | null |