Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to convert null to float in mysql

CREATE TABLE `table` (id int, col int);

INSERT INTO `table` VALUES (1, 100);
INSERT INTO `table` VALUES (2, NULL);
INSERT INTO `table` VALUES (3, 300);
INSERT INTO `table` VALUES (4, NULL);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #null #float #mysql
ADD COMMENT
Topic
Name
2+4 =