SAN FRANCISCO -- Ehire Adrianza became the latest pinch-runner in the majors to make a decisive dash.
"That was so exciting," Adrianza said. "I have been waiting for this moment since I was 3 years old. It was pretty amazing and it feels great. As a pinch-runner it was an honor to win a game like that."
Adrianza has been a minor league shortstop in the Giants' system since he was 16 in 2006.
Javier Lopez (3-2) got the win. Sanchez also drove in a run for the Giants, who split the series with Arizona.
"I just tried to put the ball in play and took advantage of the hole," Sanchez said. "I feel great right now. I'm comfortable swinging. I feel amazing."
Eric Chavez and A.J. Pollack each drove in runs for the Diamondbacks.
"We have not swung the bats very well at all, especially in the good situations," Arizona manager Kirk Gibson said. "We're not in a good streak right now."
Gibson was ejected in the 10th for arguing after first base umpire Tom Hallion reversed his original call.
The Diamondbacks had runners at first and second with two outs when Aaron Hill grounded to first baseman Buster Posey. After bobbling the ball, Posey flipped to pitcher George Kontos covering the bag.
Hallion called Hill safe, then consulted with the other umpires and ruled him out.
Giants starter Madison Bumgarner threw six shutout innings, allowing four hits. He struck out nine and did not walk a batter. Bumgarner remains winless over his last seven starts.
"It doesn't matter if I get the win or not, that's out of our control," Bumgarner said. "All the starters are trying to do is compete, eat up some innings and keep us in it."
Diamondbacks starter Wade Miley went seven innings, allowing two runs on five hits. He walked two and struck out three.
Miley retired nine of the first 10 hitters before running into trouble in the fourth.
Tony Abreu walked and Posey doubled to open the inning. One out later, Sanchez bumped a single into right field to score one run and Posey later scored on a wild pitch.
The Diamondbacks scored twice in the eighth against Santiago Casilla, Chavez hit a sacrifice fly and Pollack had an RBI single.
OF Hunter Pence needs a home run to become the first Giants player to record at least 20 home runs and 20 steals in a season since Barry Bonds in 1998. ... The Giants sold out their 237th regular season home game, doing it while the San Francisco 49ers hosting the Green Bay Packers in their regular-season opener. ... RHP Tim Lincecum (9-13, 4.50) makes the start for the Giants on Monday night when Colorado arrives to open a three-game set. He's 0-2 with an 8.00 ERA against the Rockies this year. ... The Diamondbacks will start RHP Randall Delgado (4-5, 3.69) in their series opener against the Dodgers in Los Angeles on Monday. He's allowed three earned runs or less in 12 of his 15 career starts. ... Arizona IF Martin Prado missed his second straight game with an illness. ... Diamondbacks INF Cliff Pennington returned to Arizona after the game to be with his wife, who will undergo induced labor on Monday.
Eduardo Escobar had two go-ahead hits, including an RBI single that launched a four-run eighth inning for the Minnesota Twins in a 6-2 victory over the Boston Red Sox on Tuesday night.
The Philadelphia Phillies and the St. Louis Cardinals will play the rubber match of their current series and their season series Wednesday afternoon.
C.J. Cron homered early and Wilson Ramos hit a tiebreaking RBI single in the eighth inning to lift the Tampa Bay Rays to a 2-1 win on Tuesday night to snap a 12-game winning streak by the Houston Astros.
as a hitter -- before their series finale Wednesday night against the Milwaukee Brewers at PNC Park.
Tied at 1-1 in the 10th, Albert Almora Jr.'s single gets the Cubs a split of their doubleheader with the Dodgers.
Another day, another roster move involving the Cleveland Indians' bullpen. Prior to their 6-3 win over the Chicago White Sox on Tuesday, the Indians placed reliever Evan Marshall on the 10-day disabled list with right elbow inflammation.