修改列属性,菜鸟求救
alter table cp_test alter column name set not null;哪里错了
[解决办法]
alter table cp_test modify column_name not null ;
[解决办法]
应该使用modify
[解决办法]
alter table cp_test modify column_name not null ;
正解
[解决办法]
alter table table_name modify colunm_name not null
[解决办法]
语法上 同一条语句中 有两个 alter是不行滴!