Spongebob's Last Stand - S7-E22
Character mistake: Near the end of the episode, the main characters are being introduced by SpongeBob; one of those characters is Sandy Cheeks, the name she has had for the entire show. However, SpongeBob addresses her as "Sandy Squirrel."
Answer: I believe this is the Season 6 episode "Spongicus".