在MySQL中,假设有一个表 inventory(id int, description text, price int)。如何将price类型从int变为decimal(10,2)?( )
alter table inventory modify price decimal(10,2)
都对
alter table inventory change column price decimal(10,2)
不可能做到
在MySQL中,假设有一个表 inventory(id int, description text, price int)。如何将price类型从int变为decimal(10,2)?( )
alter table inventory modify price decimal(10,2)
都对
alter table inventory change column price decimal(10,2)
不可能做到