I am trying to find the answer to a simple question. Let say I have a table which I store content in it. The content is just a string. I am trying to find what is my max length for this specific one? I was reading that "text" type is just an alias to varchar. Is varchar length only 255 or it can be more?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use TEXT column in your database ( about 64KB characters).
As you know String in java has 2^31-1 characters