Bookworm

Hamm is a wisecracking plastic piggy bank in Andy's room in the movies Toy Story and Toy Story 2. He appears to be the best friend of Mr. Potato Head. In the second film, he takes a dislike to the chicken mascot of Al's Toy Barn, Al McWhiggin, especially after learning that he is the same man who has kidnapped Woody from a yard sale. He joins the rescue party formed by Buzz Lightyear to save Woody.

Trivia

 * Having lost Hamm's original stopper, Andy now uses a wine cork in its place.
 * In Cars, Hamm appears as a car.
 * In the Toy Story opening Pixar made for the direct-to-video film, Buzz Lightyear of Star Command: The Adventure Begins, Andrew Stanton did Hamm's voice, because John Ratzenberger was unable to.