mySQL UPDATE query returns “0 rows affected”

后端 未结 11 1107
感情败类
感情败类 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:05

    1. Does it say Rows matched: 1 Changed: 0 Warnings: 0? Then maybe it's already set to that value.
    2. Did you try single quotes vs. double quotes?
    3. "999 29-4655" is the space a space or a tab and is it consistent in your query and the database?

提交回复
热议问题