设置表的某个字段能够为 null

百度了一下 不少都是说这样table

alter table hr_eff_pfmce_planeecpt modify (hr_eff_pplan_cycle_id_ null); 这样是会报错的百度

下面的才是对的,同时若是设置为 非null 也是 同样的tab

alter table hr_eff_pfmce_planeecpt modify ( hr_eff_pplan_cycle_id_  default NOT NULL  )di

设置能够为 null ,默认就是  null 了ab

alter table hr_eff_pfmce_planeecpt modify ( hr_eff_pplan_cycle_id_  default NULL  )

相关文章
相关标签/搜索