i'm writing a simple query in mysql, with no results... I don't understand why. Can you help me to understand?
Query:
UPDATE mytable set myfield = NULL where myfield = "BAR";
Results: 0 row affected
Similar Query:
UPDATE mytable set myfield = "FOO" where myfield = "BAR";
Results: 600 row affected
myfield
is a text field, default value NULL (nullable).
Where i'm wrong?
More detail: i attach a screenshot of my real query simulation on phpmyadmin. Sorry for italian language on screenshot, i hope you understand.