I have a table with three columns named: Question, Answer, Hashed. I want to update the Hashed column with the Answer column hashed using sha512.
I've tried to do the update directly from my MySql database using this syntax, but it didn't work:
UPDATE TableName SET Hashed = SHA512(Answer) WHERE Hashed IS NULL
I know the syntax is wrong but not sure why.
Thanks in advance for your help!
R