I am trying to update a value in my table. I have a field called tiPhone and it is a tinyint. I want to be able to update it to NULL but when I try to do it, instead it updates to 0.
UPDATE tblUser SET tiPhone = 'NULL' WHERE iUserID = 1
The above query will set the tiPhone value to 0 every time, but I want it to be NULL. How can I accomplish this?
-Greg
UPDATE tblUser SET tiPhone = 'NULL' WHERE iUserID = 1
The above query will set the tiPhone value to 0 every time, but I want it to be NULL. How can I accomplish this?
-Greg