RBS
asked on
Copying values related to one column in one table to another with same values of second column
Hi:
I have a table aspnet_Users with columns UserId (uniqueidentifier) and UserName varchar(256).
What I would like to do is copy all the UserName values from this table to my UserProfiles table that also has also has UserId and UserName columns so that the UserName values match the UserId values in the new table - i.e. username jsmith in record with UserId=xxyx in aspnet_Users is copied to the record in UserProfiles that has a UserId of xxyx
Any help greatly appreciated.
RBS
I have a table aspnet_Users with columns UserId (uniqueidentifier) and UserName varchar(256).
What I would like to do is copy all the UserName values from this table to my UserProfiles table that also has also has UserId and UserName columns so that the UserName values match the UserId values in the new table - i.e. username jsmith in record with UserId=xxyx in aspnet_Users is copied to the record in UserProfiles that has a UserId of xxyx
Any help greatly appreciated.
RBS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect, thanks!
RBS
RBS
Thanks for the grade. Good luck with your project. -Jim
Hope it helps. Regards.