I have a column with Swedish personal identification numbers, which means it is the date of birth + 4 more digits. 198511028954
The column also includes foreign personal identification numbers without the last 4 digits.
The column is now varchar(12)
I want to split the personal identification number and copied the first 8 digits of the personal identification number to a separate column (date) and the rest to another column.
Speaking of problems, are there no rules or regulations against storing such information as date of birth and personal identification numbers in plain text in Sweden?
Personal identification numbers and coordination numbers are not considered sensitive personal data according to the Data Protection Regulation, but are considered to be of extra protection value.