1.更改Float字段类型to Decimal 

ALTER TABLE 表名 MODIFY 字段名 decimal(10,2) not null default '0'; 
如: 
ALTER TABLE invoice MODIFY TotalMoney decimal(10,2) not null  default '0'; 

2.添加字段 

alter table 表名 add 字段名 字段类型 not null ; 
如: 
alter table teacher add TypeMark varchar(50) null default '';

相关文章:

  • 2021-12-08
  • 2022-02-09
  • 2021-06-17
  • 2021-08-11
  • 2021-11-30
  • 2021-11-17
猜你喜欢
  • 2021-12-08
  • 2021-11-20
  • 2021-11-20
相关资源
相似解决方案