How can i change (NULL) value of a table? I have searched everywhere but didn't find the right answer.
Works, but updates 0 rows:
UPDATE Club
SET Place = 24
WHERE Place = NULL;
Not working:
UPDATE Club
SET Place = 24
WHERE Place IS NULL;
How can i change (NULL) value of a table? I have searched everywhere but didn't find the right answer.
Works, but updates 0 rows:
UPDATE Club
SET Place = 24
WHERE Place = NULL;
Not working:
UPDATE Club
SET Place = 24
WHERE Place IS NULL;
UPDATE Club
SET Place = 24
WHERE Place IS NULL;
This works fine. If its not working then, you don't have records where Place is null. Check with null case as well, as sql is case sensitive.