سؤال

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