mySQL UPDATE query returns “0 rows affected”

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

    Try select count(*) from phonecalls where PhoneNumber = "999 29-4655"; That will give you the number of matching rows. If the result is 0, then there isn't a row in the database that matches.-

提交回复
热议问题