I know that there is an entry on the FAQ about this: http://faq.webyog.com/content/29/162/en/tables-with-floating-point-datatypes-fail-to-update.html
If you have a table with a float column, SQLyog will fail to update entries in that table if it doesn’t have a PK. However, the problem is in the SQL statement SQLyog generates, which puts the float values in quotes, like this:
UPDATE `table`.`column` SET `columnToChange` = NULL WHERE `floatColumn` = ‘0.3’
If you try to run this statement manually, it’ll also fail to update. If you, however, simply remove the quotes in the 0.3, like this:
UPDATE `table`.`column` SET `columnToChange` = NULL WHERE `floatColumn` = 0.3
Then it works.
Why doesn’t SQLyog do this automatically? Is there any problem or difficulty in removing the quotes?
Thanks in advance, Andre.