All covariates were measured at baseline during the 6 months immediately prior to the initiation of metformin or SU therapy, with the exception of smoking. Smoking status was measured using data recorded at any time before or during follow-up. Diabetes duration was measured as the time from a first diabetes diagnosis