mysql 修改字段长度

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

mysql 修改字段长度

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

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

alter table news modify column title varchar(130);

ok 了!

—— 完 ——
  • 设定和修改Access数据库自增长字段初始值
  • mysql备份还原命令
  • The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
  • 在IPv4的数据报格式中,字段()最适合于携带隐藏信息
  • 在DES加密算法中,子密钥的长度和加密分组的长度分别是( )。
  • You have an error in your SQL syntax; check the manual that corresponds to your MySQL
  • (单选题)根据《公路隧道设计规范》,长度大于( )的隧道应设置照明。
  • MySQL清空表命令之:truncate与delete区别
  • MySQL把Select结果保存为临时表的2种方法
  • 含有两个密钥的3重DES加密:,其中K1≠K2,则其有效的密钥长度为(  )。

© CopyRight 2014~2024 薄学网.