Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

replace null value within column mysql

UPDATE `table` SET `somefield`=0 WHERE `somefield` is null
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #null #column #mysql
ADD COMMENT
Topic
Name
2+8 =