|
|
|
Aha .. more information appears in the MySQL 4.1 documentation than the MySQL 5.x documentation:
http://dev.mysql.com/doc/refman/4.1/en/legal-names.html Thus, the doubling of the quote character quoting mechanism was introduced with MySQL 4.1. BTW, is anyone actually still using versions of MySQL older than 4.1.x? |
||||||||||||||||||||||||||||||||||||||||||||||||
Identifier quote characters can be included within an identifier if you quote the identifier. If the character to be included within the identifier is the same as that used to quote the identifier itself, then you need to double the character. The following statement creates a table named a`b that contains a column named c"d:
mysql> CREATE TABLE `a``b` (`c"d` INT);
Thus, it seems we should do the opposite of the suggestion recommended in this issue ticket's description.