| Age, years, mean (SD) | 68.0 (9.9) | 72.4 (8.4) | 68.0 (9.9) | <0.001 |
| Sex, n (%) | | | | 0.66 |
| Female | 29 975 (42.8) | 75 (40.5) | 29 900 (42.8) | |
| Male | 40 075 (57.2) | 110 (59.5) | 39 965 (57.2) | |
| Ethnicity, n (%) | | | | 0.057 |
| Asian | 3670 (5.2) | 5 (2.7) | 3670 (5.3) | |
| Black | 1760 (2.5) | 5 (2.7) | 1750 (2.5) | |
| Mixed | 360 (0.5) | 5 (2.7) | 360 (0.5) | |
| Other | 330 (0.5) | 5 (2.7) | 330 (0.5) | |
| White | 54 220 (77.4) | 140 (75.7) | 54 090 (77.4) | |
| Missing | 9710 (13.9) | 40 (21.6) | 9670 (13.8) | |
| Index of Multiple Deprivation quintile, n (%) | | | | 0.52 |
| 1 (most deprived) | 13 035 (18.6) | 30 (16.2) | 13 010 (18.6) | |
| 2 | 13 240 (18.9) | 40 (21.6) | 13 200 (18.9) | |
| 3 | 13 975 (20.0) | 35 (18.9) | 13 940 (20.0) | |
| 4 | 14 205 (20.3) | 45 (24.3) | 14 165 (20.3) | |
| 5 (least deprived) | 13 355 (19.1) | 35 (18.9) | 13 315 (19.1) | |
| Missing | 2240 (3.2) | 10 (5.4) | 2235 (3.2) | |
| HbA1c at index date, mmol/mol, mean (SD) | 53.2 (9.3) | 57.0 (15.8) | 53.2 (9.2) | <0.001 |
| HbA1c before index date, mmol/mol, mean (SD) | 44.2 (3.0) | 43.5 (3.2) | 44.2 (3.0) | 0.003 |
| Body weight at index date, kg, mean (SD) | 88.0 (19.9) | 82.1 (19.8) | 88.0 (19.9) | <0.001 |
| Body weight before index date, kg, mean (SD) | 86.8 (19.1) | 84.6 (20.1) | 86.8 (19.1) | 0.13 |