In one segment of Giants fandom, Hector Sanchez has been traded, sold, demoted and released about 100 times as he has struggled after being brought to the majors earlier then they should have.

For one day, Sanchez demonstrated why he is here and once again came up clutch.

Sanchez’s grand slam off Chad Bettis with one out in the 11th inning gave the Giants a 12-8 lead en route to a 12-10 victory in a classic Coors Field slugfest. Sanchez’s second homer of the game allowed the Giants to score more runs than they had in their six prior contests combined.

The Giants had six homers in the game, two each by Sanchez and Michael Morse, one apiece by Brandon Belt and Brandon Hicks. In one of those nutty games that defines this place, Belt’s homer and Sanchez’s first gave the Giants leads in the seventh and eighth innings, respectively, yet the game still spun into extras.

The Rockies tied it 8-8 in the eighth after third-base umpire “Balkin’ Bob” Davidson did what he does best. He called a balk on Santiago Casilla that allowed D.J. LeMahieu to take third base.

The Giants moved the infield in and got a groundball that could have forced LaMahieu to stay put, but it clanked off Brandon Hicks’ glove on a backhand try and the runner scored.

Hunter Pence led off the 11th with his third hit, a single. Bettis ultimately walked Joaquin Arias intentionally to load the bases for Sanchez, who started the game in a 1-for-21 funk. But the hit was a game-winner in extra innings against the Dodgers at home.

Sanchez built the count to 3-2 and saw nine pitches before he hit his no-doubt slam on the 10th, to right-center field. He raised his fist in triumph as he jogged to first.

In a bottom of the 11th befitting this game, Justin Morneau hit a two-run homer off Sergio Romo before he saved it to end a 2-4 trip.

The Giants and Matt Cain had trailed 5-1 by the second inning. Cain then did a good job holding the Rockies long enough for the Giants to tie it third, the big hit Morse’s three-run homer.

Charlie Blackmon’s leadoff homer in the fourth, the ninth allowed by Giants pitchers in the series, restored Colorado’s lead to 6-5.

Belt, moved to the third spot as promised, atoned for a bases-loaded strikeout against starter Tyler Chatwood when he gave the Giants a 7-6 lead with his two-run homer in the seventh.