Buccaneers0307 -- 1049ers0663 -- 15

Of all the improbable elements in San Francisco's first victory since the season opener, nothing matched a raucous crowd chanting "Cody! Cody!" on the way to the clinching field goal.

Cody who? Tampa Bay found out.

The 49ers snapped a five-game losing streak with a victory over the punchless Bucs. Joe Nedney kicked five field goals, including a 28-yarder with 1 minute 56 seconds to play on the first scoring drive ever led by former fourth-string QB Cody Pickett.

Pickett emerged as an improbable hero for the 49ers (2-5), performing admirably in the final 11 minutes while Ken Dorsey and Alex Smith were out with injuries.

Pickett was the 49ers' fourth quarterback as recently as two weeks ago, and the former rodeo cowboy has played on special teams this season to stay fresh. In fact, he tackled a punt returner moments before he stepped behind center.

SECOND QUARTER

San Francisco: FG Nedney 45, 6:00.

Tampa Bay: FG Bryant 47, :18.

San Francisco: FG Nedney 47, :00.

THIRD QUARTER

San Francisco: FG Nedney 41, 6:16.

San Francisco: FG Nedney 46, 2:45.

FOURTH QUARTER

Tampa Bay: Galloway 78 pass from Simms (Bryant kick), 10:33.

San Francisco: FG Nedney 28, 1:56.

Attendance: 63,358.

Bucs49ersFirst Downs 139Total Net Yards 275208Rushes-Yards 20-4339-158Passing 23250Punt Returns 5-294-18Kickoff Returns 4-843-63Interceptions Ret. 0-02-36Comp-Att-Int 21-34-28-19-0Sacked-Yards Lost 5-320-0Punts 8-43.69-41.0Fumbles-Lost 1-11-0Penalties-Yards 8-657-65Time Of Possession 29:4130:19RUSHING

Tampa Bay: C.Williams 13-20, Simms 3-18, Pittman 4-5.

San Francisco: Barlow 26-101, Gore 10-40, Pickett 2-12, Dorsey 1-5.

PASSING

Tampa Bay: Simms 21-34-2-264.

San Francisco: Dorsey 7-18-0-40, Pickett 1-1-0-10.

RECEIVING

Tampa Bay: Galloway 8-149, Clayton 4-30, Alstott 3-24, Smith 2-43, Hilliard 1-7, C.Williams 1-5, Pittman 1-3, Shepherd 1-3.

San Francisco: Barlow 2-21, Lloyd 2-18, Morton 1-7, Jackson 1-6, Bajema 1-5, Gore 1-(minus 7).

MISSED FIELD GOALS

Tampa Bay: Bryant 52 (SH).

San Francisco: Nedney 39 (WL).