The primary preservatives in ham are nitrates and nitrites, which are both sodium-based. High-sodium preservatives aren't healthy for dogs and can even be toxic. Too much salt can lead to vomiting, diarrhea, excessive thirst and urination, lethargy, and abnormal fluid accumulation or bloating.
More useful articles on a similar topic 👇
Will a ham bone make a dog sick?What happens to a dog if it eats ham?