How to add a not null constraint on column containing null values

后端 未结 3 1100
孤街浪徒
孤街浪徒 2021-01-03 20:34

I have a table with a column that contains a few null values. I want to add a NOT NULL constraint on that column without updating the existing nulls to a non-nu

3条回答
  •  旧时难觅i
    2021-01-03 21:13

    Hammad: I face the problem and solve like following:

    Alter table thr_empl_info modify THR_EM_DESIGNATION_ID not null

提交回复
热议问题