mySQL UPDATE query returns “0 rows affected”

后端 未结 11 1122
感情败类
感情败类 2020-12-05 18:39

I have this query:

UPDATE phonecalls 
   SET Called = \"Yes\" 
 WHERE PhoneNumber = \"999 29-4655\"

My table is phonecalls, I

11条回答
  •  盖世英雄少女心
    2020-12-05 18:54

    In my case, I was trying to update a column of text to correct a truncation problem with it. Trying to update to the correct text was yielding 0 rows updated because the text in the row wasn't changing.

    Once I extended the column in the table structure to accommodate for the correct number of characters, I was able to see the desired results.

提交回复
热议问题