Question

The max length of column name in MySQL is 64 (you can check documentation). My question is how can I change it. To be more specific, I want to increase it. Can it be done? if yes, how it should be done?

Edit: Few words on the motivation: These tables are created automatically upon strings input, and not needed to be readable, as they are being used by the software. The alternative is to give some "id" as column name instead of the input string concatenation. However increasing the column name length can solve it without any code change.

Thanks,

Lior

Était-ce utile?

La solution

It can not be done. Why do you want to have a column name exceeding 64 in length?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top