I have this simple SQL query :
UPDATE [mydb].[dbo].[EXPLANATIONS]
SET [EXPLANATION] = " This is the new explanation."
WHERE [RECORDNUMBER] = 123456
AND [EXPLANATIONNUMBER] = 7;
and I get this error :
Msg 207, Level 16, State 1, Line 1
Invalid column name ' This is the new explanation.' .
How can I get rid of this error and update the row correctly? Thanks.
"use'So"This is the new explanation."this becomes'This is the new explanation.'