Inclusion Criteria:  Patients >= 18 years old A diagnosis of Type 2 diabetes mellitus (T2DM) as demonstrated by at least one qualifying diagnosis code from any encounter type recorded in the claims in the 6 months prior to the drug initiation. Patients initiating empagliflozin (as monotherapy, on a background of metformin, or on a background of metformin and Sulfonylurea (SU)) or qualifying comparator (metformin monotherapy, SU on a background of metformin, or Thiazolidinediones (TZD) on a background of metformin and SU) during the study period. Have at least 6 months of continuous registration in the database prior to initiation of empagliflozin or a comparator drug.  Exclusion Criteria:  Patients with missing or ambiguous age or sex information. Use of a Sodium glucose co-transporter-2 inhibitor (SGLT2i), Dipeptidyl peptidase 4 inhibitors (DPP-4i) or Glucagon-like peptide-1 receptor agonist (GLP-1 RA) in the 6 months prior to study drug initiation. Chronic use of insulin in the outpatient setting in the 6 months prior to the study drug initiation. This criterion will help us to remove severe cases of diabetes and reduce the risk of residual confounding as diabetes is a risk factor for developing acute pancreatitis. Patients with type 1 diabetes mellitus (T1DM) defined as at least 1 inpatient or outpatient International Classification of Diseases Ninth Revision, Clinical Modification (ICD-9-CM) diagnosis code of 250.x1 or 250.x3 or International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM) diagnosis code of E10.x in the 6 months prior to the study drug initiation. Patients with secondary diabetes or gestational diabetes in the 6 months prior to the study drug initiation. Claims for acute or chronic pancreatitis, pancreatic cancer, or other disease of the pancreas any time prior to the study drug initiation.