I'm currently reading The Cost of Honor by Sally Malcolm, one of the Fandemonium published novels based on Stargate SG-1. Several times in the narrative, Col. Jack O'Neill's internal voice reminds him of a time when he killed Major Samantha Carter (allegedly "To save her").
It's been a few years since I watched SG-1 and I can't remember that happening. What is the book referring to?