MYSQL Truncated incorrect DOUBLE value

You don’t need the AND keyword. Here’s the correct syntax of the UPDATE statement:

UPDATE 
    shop_category 
SET 
    name="Secolul XVI - XVIII", 
    name_eng = '16th to 18th centuries' 
WHERE 
    category_id = 4768

Leave a Comment