@shoyu
Or you could write Nombre d'années – as you would do in handwritten SQL according to the general rules of using escape characters within strings. But yes I think that I remember that you can escape ' with one more ' too. 🙂
But we agree SQLyog should handle escaping automatically here as anywhere else …
The point/explanation is that SQLyog encloses all string with the ' character when building SQL, so
becomes
becomes in the ALTER TABLE staement after being 'processed by SQLyog. Thus the string is only
and
is garbage! And MySQL raises an error.