You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dal"/> UPDATE characters SET class = 'Shaman', gender = 'Female', points = 1640, t1 = 0, t2 = 0, t3 = 0, spec = 0, guild_id = (SELECT id FROM guilds WHERE realm_id = 41 AND name = 'Vis Maior'), level = 70, name = 'Azurai', race = 'Draenei', realm_id = 41, talents = ' ', profile = 'Armory', stamp = 1246744072 WHERE id = 41066543