How would you go about updating the usernames? I tried it by updating aspnet_Users and Users tables, but I ran into two problems: 1. I successfully updated the UserName in aspnet_Users but then noticed the LowereUserName field so I thought I'd update it as well, but when I run UPDATE aspnet_Users SET LoweredUserName =LOWER(UserName) I get Cannot insert duplicate key row in object 'dbo.aspnet_Users' with unique index 'aspnet_Users_Index'. I have no idea what this means... do I even need this field? 2.I created a view that I want to join with table Users and then update the UserName field but when I run UPDATE Users SET Username = vw_UsersProfileValidAccts.PropertyValue FROM Users INNERJOIN vw_UsersProfileValidAccts ON Users.UserID = vw_UsersProfileValidAccts.UserIDI get Violation of UNIQUE KEY constraint 'IX_Users'. Cannot insert duplicate key in object 'dbo.Users'. Any Suggestions? |