Conclusion: The sphingomyelin synthase 2 inhibitor YE2 or sphingomyelin synthase 2 deficiency can prevent macrophage M2 polarization in pancreatic cancer, and sphingomyelin synthase 2 could be a new potential target for the treatment of pancreatic cancer. Here, SGMS2 is linked to pancreatic neoplasm.