문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top