How to set a varchar to have unlimited length?

前端 未结 5 692
一整个雨季
一整个雨季 2021-02-01 15:10

In a MySQL database, how would I set a varchar to have unlimited length, so that I can store long web pages? IF not , then what is the Maximum Size?

I know about Text Ty

5条回答
  •  礼貌的吻别
    2021-02-01 15:57

    You can use varchar2. It is better than varchar in many ways

    http://www.orafaq.com/faq/what_is_the_difference_between_varchar_varchar2_and_char_data_types

    Or

    You can try TEXT. It will work for you

提交回复
热议问题