Something About Dr. Mary - S7-E16
Trivia: In this episode, Roz is replaced as Frasier's producer for a short time by a lisping character named Chuck Ranberg. This was the actual name of one of the show's writers and co-producers from 1993-1997 - shows from those years list him in the credits.
Something Borrowed, Someone Blue (2) - S7-E24
Trivia: Two endings were filmed for the last episode of season seven, one in which Daphne and Niles ended up together and one in which they didn't. It was then up to the audience to decide which version they liked better.
Answer: It equals the record of James Arness of "Gunsmoke" for the actor who's played the same part on TV NOT in a soap opera. If you include soaps there are two main contenders - William Roache, who's been playing Ken Barlow in "Coronation Street" in the UK since 1960. Don Hastings has been playing Robert Hughes in US soap "As the World Turns" since 1960 as well.