例如,向一个名为student的表中的Sage属性修改为int类型,在MySQL中语句为:
alter table student modify column Sage int;
在SQL server 中是:
alter table student alter column Sage int;
要注意区分所使用的数据库。
例如,向一个名为student的表中的Sage属性修改为int类型,在MySQL中语句为:
alter table student modify column Sage int;
在SQL server 中是:
alter table student alter column Sage int;
要注意区分所使用的数据库。