SAN FRANCISCO -- Aaron Rowand hit a game-winning single off the left-field wall with the bases loaded in the 12th inning and the San Francisco Giants celebrated raising the World Series flag with a 5-4 victory over the St. Louis Cardinals on Friday.