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.