Within the scope of eight genes associated with pancreatic cancer, we detected two variants, namely rs6465133 (SRI) (p = 0.001) and rs61759623 (KRAS) (p = 0.005), which exhibit the potential to differentiate between PCAND and T2DM. This evidence concerns the gene KRAS and type 2 diabetes mellitus.