The concluding game of hockey’s Stanley Cup Finals was the top television draw on Wednesday night, lifting NBC past Fox and its two-hour ”So You Think You Can Dance.”

The Boston Bruins’ 4-0 victory over the Vancouver Canucks on Wednesday, earning the Bruins their first championship since 1972, earned a 5.7 household rating/10 share in Nielsen’s metered-market overnights, tying 2003 (Anaheim-New Jersey) as the highest-rated NHL Stanley Cup Game 7 on record. This year’s preliminary score was up 14% over the most recent 7-game Finals, the 2009 matchup between Detroit and Pittsburgh (5.0 rating).

The 5.7 overnight ties for the second-best Stanley Cup ratings in 37 years, behind only last year’s Chicago-Philadelphia Game 6 (5.8). It’s also the highest rating for a Stanley Cup Finals game featuring a Canadian team.

The Boston market averaged a 43.4 rating/64 share, the best overnight on record for a hockey game in Boston (dating back to 1991) and the best overnight in the Boston market featuring a Boston team in any major sports championship since Super Bowl XLII (Patriots-Giants) in February 2008. Boston’s seven-game Stanley Cup average (28.1/44) came in 12% above the 25.0/40 in the Boston market when its Celtics met the Los Angeles Lakers in the NBA Finals last year (25.0/40).

In preliminary affiliate-based nationals, the game earned a 3.2/9 in 18-49 and 8.1 million viewers overall on NBC’s stations from 8 to 11 p.m., with that number expected to rise a bit in the nationals.

Fox was runner-up on the night with its two-hour edition of ”So You Think You Can Dance” (2.6/8 in 18-49, 7.4 million viewers overall), which was down 7% week to week. One category in which it is holding up well is teens 12-17, where last night’s 1.7 rating/7 share repped gains both week-to-week and, most notably, year-to-year.

ABC didn’t do a whole lot with repeats of ”The Middle” (1.1/4 in 18-49, 4.4 million viewers overall at 8 p.m. and 1.2/4 in 18-49, 4.1 million viewers overall at 8:30 p.m.) and ”Modern Family” (1.6/5 in 18-49, 4.4 million viewers overall at 9 and 1.4/4 in 18-49, 3.9 million viewers overall at 9:30). It closed the night respectably with the ABC News special ”Caught in the Act” (1.6/5 in 18-49, 5.1 million viewers overall).

And CBS had a sluggish night with encores of ”Undercover Boss” (1.1/4 in 18-49, 4.6 million viewers overall), ”Criminal Minds” (1.3/4 in 18-49, 6.2 million viewers overall) and ”Blue Bloods” (1.2/4 in 18-49, 6.6 million viewers overall).

Preliminary 18-49 averages for the night: NBC, 3.2/9; Fox, 2.6/8; ABC, 1.4/4; Univision, 1.3/4; CBS, 1.2/4; CW, 0.4/1.

In total viewers: NBC, 8.1 million; Fox, 7.4 million; CBS, 5.8 million; ABC, 4.5 million; Univision, 3.4 million; CW, 1.2 million.