Five Rockets finished in double figures in a 112-106 win as they held off a second-half rally from the Spurs.
Kevin Martin's 27 points led the Minnesota Timberwolves to a 112-106 win over the Dallas Mavericks, ending a three-game skid.
Kevin Love added 21 points with 11 rebounds.
The Washington Wizards stayed hot as they won a sixth game in eight with a 108-101 victory over the Atlanta Hawks.
John Wall had 26 points with 12 assists while Trevor Ariza scored 24.
The Cleveland Cavaliers edged the Chicago Bulls 97-93 to end a five-game losing streak, with Andrew Bynum and Dion Waiters each scoring 20 points.
The Milwaukee Bucks had been in an even deeper mire but snapped an 11-game skid with a 92-85 victory over the Boston Celtics, with OJ Mayo scoring 22.
Joe Johnson scored 26 points to lead the Brooklyn Nets to a 97-88 victory over the Memphis Grizzlies, while rookie Trey Burke collected 20 as the Utah Jazz beat the Phoenix Suns 112-104 for their first road win of the season.