I know I’ve seen someone post how to do this in the past, but it’s been a couple of years and I don’t trust my SQL skills to doing it myself.
What I’m looking for is a SQL query that will take all comments left by a specific email address and assign them to a user’s profile. One of the bloggers I host wasn’t logging into her blog to post comments so all of hers are user ID 0 and then she was wondering why her avatar wasn’t showing up.
So I just need a quick bit of code to update the ID on all those comments to point to her profile.