mythbusters tested this once. they set up a maze for goldfish, and taught them how to get thru the maze. the next day, they tried to see if the goldfish remebered how to get thru the maze, and it did.
so there you go. memory is longer than a couple of seconds, but i forgot how many days/weeks their memory is specifically, sorry. lol