Giants third baseman Evan Longoria, who has 34 RBIs and 10 home runs, will undergo hand surgery and could miss six to eight weeks.