mySQL UPDATE query returns “0 rows affected”

后端 未结 11 1125
感情败类
感情败类 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 19:14

    The problem might be that there are no records with PhoneNumber == "999 29-4655".

    Try this query:

    SELECT * FROM phonecalls where PhoneNumber = '999 29-4655'
    

    If it doesn't return anything, then there are no rows that match.

提交回复
热议问题