OKLAHOMA CITY – Matt Bonner scored 21 points and just missed the Spurs franchise record by hitting all seven of his 3-point shots, helping San Antonio stretch its winning streak to seven games with a 117-104 victory against the Oklahoma City Thunder on Sunday night.

Bonner, from Concord, N.H., swished home three of his 3s during a 21-8 run to open the fourth quarter, and the NBA’s best 3-point shooting team went 6 for 8 from behind the arc to pull away in the final period.

Bonner led the way, falling one shy of Steve Smith’s record for 3-point accuracy.

He went 8 for 8 from 3-point range against Portland on Nov. 3, 2001.

Tony Parker scored 24 points, Manu Ginobili added 21 and Richard Jefferson had 18 for the Spurs.

Kevin Durant had a season-low 23 points and Russell Westbrook scored 19 for the Thunder.

The Spurs trailed the entire first half and didn’t lead by more than three until Jefferson connected on a 3-pointer from the left corner late in the third quarter to make it 82-78.

From there, the 3s kept coming.

ROCKETS 104, KNICKS 96: Kevin Martin scored 28 points, Luis Scola added 24, and Houston won at New York to climb a little further out of the hole it dug to start the season.

Courtney Lee had 12 for the Rockets, who have won three of four after opening the season with five straight losses.

Even without injured starters Yao Ming and Aaron Brooks, they beat the Knicks for the 13th time in 15 meetings.

PISTONS 100, KINGS 94: Rodney Stuckey scored 17 points and Ben Gordon hit a late 3 for Detroit in Sacramento, Calif. The Pistons have won four of five after their 0-5 start.

Gordon’s 3-pointer from the corner put the Pistons ahead 99-94 with 23.9 seconds left. He finished with 16 points.

HAWKS 111, TIMBERWOLVES 105: Al Horford had 28 points and 10 rebounds and Atlanta held on at home to beat Minnesota. Kevin Love had 22 points and 17 rebounds in his first game since posting 31 points and 31 rebounds in a win over the Knicks.