null——>not null:alter table Tab1 alter column Col1 set not null
not null——>null:alter table Tab1 alter column Col1 drop not null
null——>not null:alter table Tab1 alter column Col1 set not null
not null——>null:alter table Tab1 alter column Col1 drop not null
转载于:https://my.oschina.net/zhongxhua/blog/67726