--delete from Sys_ButtonToMenu where MenuId in (select MenuId from Sys_Menu where MenuType='Menu_Personal') --go --delete from Sys_Menu where MenuType='Menu_Personal' --go INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('C48343FA-ADC6-4551-86AD-7B68C27A6170','个人信息','Personal/PersonalInfo.aspx',10,'0','Menu_Personal',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('BAB254FA-C879-4463-B9DE-387C241A8623','密码修改','SysManage/UpdatePassword.aspx',20,'0','Menu_Personal',0,1,1) GO INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES('00BCD912-6275-40A2-8CB1-591389118DA9','BAB254FA-C879-4463-B9DE-387C241A8623','编辑',1) INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES('1F9897F0-0D3A-441A-B62B-7CC4852807C1','BAB254FA-C879-4463-B9DE-387C241A8623','重置',2) INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES('5554D845-879C-47B7-AD8D-DF0B23D749CC','BAB254FA-C879-4463-B9DE-387C241A8623','保存',3) GO