To compare the sodium‐glucose‐cotransporter‐2 (SGLT‐2) inhibitor dapagliflozin with dipeptidyl peptidase‐4 (DPP‐4) inhibitors with regard to risk associations with major adverse cardiovascular (CV) events (MACE; non‐fatal myocardial infarction, non‐fatal stroke or cardiovascular mortality), hospitalization for heart failure (HHF), atrial fibrillation and severe hypoglycaemia in patients with type 2 diabetes (T2D) in a real‐world setting. Here, SLC5A2 is linked to myocardial infarction.