mysql 修改字段长度

2022-03-11 17:40:11 码农 2417

mysql 修改字段长度

alter table 表名 modify column 字段名 类型;

如:news 表里的title  字段 原来长度是 100个字符,现长度要改成130个字符

alter table news modify column title varchar(130);

ok 了!

—— 完 ——
  • 预应力混凝土连续梁桥施工中,计算后张法预应力筋下料长度应考虑的因素是( )。
  • Unity Windows 路径长度限制踩坑
  • TIMESTAMP with implicit DEFAULT value is deprecated
  • SM3的杂凑值长度为( )。
  • 解决 MySQL 5.7 日期不能为 0000-01-01
  • SHA1算法的消息摘要长度是()位
  • MySQL服务器3306端口不能远程连接的解决办法
  • linq 两个字段排序
  • You have an error in your SQL syntax; check the manual that corresponds to your MySQL
  • MySQL数据库通过高德地图经纬度计算两点之间的距离

© CopyRight 2014~2024 薄学网.