I have a mysql table with
CREATE TABLE `gfs` ( `localidad` varchar(20), `fecha` datetime, `pp` float(8,4) NOT NULL default '0.0000', `temp` float(8,4) NOT NULL default '0.0000', PRIMARY KEY (`localidad`,`fecha`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
when I try to update a field using this
REPLACE INTO gfs(localidad,fecha,pp) VALUES ("some_place","2012-08-05 02:00","1.6")
the previous value of en temp is lost. What for?
source share