PHILADELPHIA (AP) - Tim Lincecum threw six scoreless innings, Pablo Sandoval hit a solo homer and San Francisco beat Philadelphia 4-1 on Thursday night in its first game with Carlos Beltran.
The All-Star outfielder was 0 for 4 with two strikeouts in his debut with the defending World Series champions, who won two of three against the major league-leading Phillies in a rematch of the NLCS.
Lincecum (9-8) showed no negative effects from the stomach illness that forced him to push his start back two days. The two-time NL Cy Young Award winner allowed three hits, struck out six and worked around four walks.
The Phillies hadn't lost consecutive games since June 4. They went a club-record 45 straight games without dropping two straight.
Phillies starter Kyle Kendrick (5-5) gave up four runs - three earned - and six hits in 6 1-3 innings.
Pirates 5, Braves 2
ATLANTA (AP) - Andrew McCutchen had three hits, including a go-ahead double in the fifth inning and a two-run homer in the ninth, and Pittsburgh managed a split of the four-game series.
McCutchen had been 1 for 11 in the series, which included wins by the Braves in 19 and 10 innings.
McCutchen had a first-inning single before snapping a 1-all tie with his fifth-inning double off Derek Lowe (6-9).
McCutchen added his 15th homer, a two-run shot off George Sherrill, in the ninth.
Kevin Correia (12-8) gave up two runs - one earned - nine hits and a walk in 6 1-3 innings.
Joel Hanrahan got the final four outs for his 30th save in 31 chances.
Lowe gave up three runs, eight hits and three walks in five innings in his first career loss to the Pirates. The right-hander was 10-0 with a 2.64 ERA in 10 starts against Pittsburgh before Thursday night, including 3-0 in 2010.
Freddie Freeman had three hits for Atlanta.
Astros 5, Cardinals 3
ST. LOUIS (AP) - Wandy Rodriguez pitched seven innings and retired the last 13 batters he faced and Jason Bourgeois hit a tiebreaking double in the fifth inning to lead Houston.
Rodriguez (7-7) allowed one earned run and five hits. He walked Matt Holliday with one out in the fourth before settling into a groove. He got David Freese to hit into a double play to end the fourth, then pitched four perfect innings before Sergio Escalona and Mark Melancon finished up. Melancon got his 10th save.
Jaime Garcia (10-5), who entered the game with an NL-best home record of 6-1, gave up four earned runs in six innings.
Carlos Lee hit his 10th homer of the season and third in the last seven games for the Astros.
Albert Pujols went 2 for 4 and moved within two hits of 2,000.
Mets 10, Reds 9
CINCINNATI (AP) - Lucas Duda and Jason Bay each drove in three runs with bases-loaded doubles and New York got its first ever four-game sweep in Cincinnati.
Wright went 3 for 5 to extend his hitting streak to seven games (15 for 33, .455) since coming off the disabled list on July 22. He was 9 for 19 with five RBIs in the series.
Chris Capuano (9-10) snapped a three-start losing streak for the Mets. He allowed eight hits and six runs with three walks and four strikeouts in 5 1-3 innings. Jason Isringhausen earned his fourth save despite allowing Joey Votto's 16th homer of the season leading off the ninth.
Homer Bailey (5-5) set a single-game career high by allowing nine earned runs. The Mets collected 12 hits with two walks and two strikeouts against the right-hander.
Brewers 4, Cubs 2
MILWAUKEE (AP) - Ryan Braun had three hits, including a home run, to lead Milwaukee to its first sweep of Chicago at home since May 2005.
The Cubs rode a three-game win streak into Milwaukee but struggled mightily at the plate during the series, scoring just four runs in three games.
Shaun Marcum (10-3) pitched six innings to win his third straight for the Brewers, giving up two runs on seven hits. LaTroy Hawkins and Franciso Rodriguez each pitched a scoreless inning and John Axford closed out the game to record his 30th save in 32 chances.
Randy Wells (2-4) took the loss for the Cubs, giving up all four runs on eight hits.
Marlins 5, Nationals 2
WASHINGTON (AP) - Mike Stanton homered for the second straight game and five Marlins relievers held Washington to one run over 5 1-3 innings as Florida completed a three-game sweep.
The Marlins won their fifth straight and improved to 14-5 since July 5.
Stanton hit his 24th homer of the season and fourth in his last six games. He has eight home runs and 14 RBIs in 12 career games at Nationals Park dating to 2010.
Brian Sanches (4-1), the second Marlins reliever, pitched 1 1-3 scoreless innings.
John Lannan (7-7) gave up four runs on five hits and four walks in 5 2-3 innings, and Jayson Werth had a pair of RBI singles for the Nationals.
Padres 4, Diamondbacks 3
SAN DIEGO (AP) - Jesus Guzman had two RBIs and rookie Luis Martinez drove in the go-ahead run as San Diego avoided a three-game sweep and won for the second time in six games.
Martinez and Orlando Hudson each had an RBI single in the sixth inning as the Padres erased a 3-2 deficit. Daniel Hudson contributed to Arizona's troubles with two walks and a hit batter in the inning.Luke Gregerson (3-3), the first of four Padres relievers, retired the only two batters he faced in the sixth to escape a bases-loaded, one-out jam.
Hudson (10-7) allowed four runs and seven hits in six innings. He struck out six.