Hi David,
I wrote the following SQL script to assign all calls for two certain users and move them to my Target user. After that the users are removed from the system.
---------------------------------------------------------------------------------------------------------
Old Script Removed
---------------------------------------------------------------------------------------------------------
I have two questions.
Firstly am I using the correct methodology??
Secondly why do I get this error
Server: Msg 547, Level 16, State 1, Line 99
DELETE statement conflicted with COLUMN REFERENCE constraint 'FK__aspnet_Us__UserI__30F848ED'. The conflict occurred in database 'bugnet', table 'aspnet_UsersInRoles', column 'UserId'.
The statement has been terminated.
Deleteing aspnet_UsersInRoles user
when executing this statement
Delete from aspnet_Users where (UserID = @DeadUser2)