AUBURN HILLS, Mich. (AP) _ Grant Hill scored 12 of his 29 points in the fourth quarter to help the Detroit Pistons beat the Toronto Raptors 100-95 Tuesday night.

Detroit overcame 36 points from Damon Stoudamire, including a team-record seven 3-pointers. Jerry Stackhouse made his first start for the Pistons and had 24 points, and Joe Dumars added a season-high 24.

Toronto led by as many as 15 points early, but Detroit outscored the Raptors 24-12 in the second period to catch up and went ahead for good in the third quarter.

Detroit snapped its two-game losing streak, beat Toronto for the ninth time in 10 meetings and prevented the Raptors from posting their first two-game winning streak of the season. The teams play again Friday.

The Raptors led 46-44 at the half, but couldn't stop the Pistons in the third quarter. Detroit scored 28 points in the quarter, including 12 from Dumars, and led by as many as 10 before Toronto pulled to 72-66 at quarter's end.

Doug Christie started the fourth with a 3 to make it a three-point game, but that was as close as the Raptors would get. Hill scored eight points in the next three minutes, giving Detroit an 82-71 lead, and the Raptors didn't threaten again until the dying seconds.

Baskets by Oliver Miller and Christie pulled the Raptors to 94-92 with 33 seconds to play, but Dumars hit a pair of free throws and Shawn Respert lost the ball out of bounds to end the rally.

Toronto got off to a blazing start, thanks to a record-setting performance by Stoudamire. Freed of his usual battles with injured Lindsey Hunter, Stoudamire scored 14 points in the first quarter, including a team-record four 3-pointers.

That helped the Raptors to a 34-20 lead after one quarter, but Detroit scored the first six points of the second to start its comeback. Stackhouse had seven points in the quarter, and Detroit briefly took the lead.

Notes: Toronto's Marcus Camby left the game in the first half after pulling a muscle in his rib cage. He did not return. ... Hill picked up a rare technical foul in the second quarter. The Pistons were also called for four illegal-defense technicals. ... Detroit placed Hunter on the injured list with a pulled calf muscle, but did not replace him on the active roster. Stackhouse replaced him in the starting lineup.