开发者

If I alter MySQL table column to increase size, will it delete data in the column?

开发者 https://www.devze.com 2023-03-21 10:02 出处:网络
I have a varchar column that needs more space.How can I increase the size of the column (the number of characters it can have inserted into it), and not lose the data that is in there?

I have a varchar column that needs more space. How can I increase the size of the column (the number of characters it can have inserted into it), and not lose the data that is in there?

Than开发者_如何学JAVAks!


It won't delete the data by default.


When you try to increase column size, it doesn't affect data. while decreasing column size, it should be affected

0

精彩评论

暂无评论...
验证码 换一张
取 消