Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql #1064 error

UPDATE test
SET  field  = IF(something == 1{CONDITION}, 1 {NEW VALUE}, field)
WHERE `id` = 5
 
PREVIOUS NEXT
Tagged: #mysql #error
ADD COMMENT
Topic
Name
9+7 =