"add constraint" only for out-of-line constraints
while not-null constraint is inline constraint,
so cannot use "add constraint" for not-null constraint
ie. to add inline constraint uses modify column
alter table emp modify
column_abc_name constraint not_null_column _abc_name not null
;
Leave a comment: