Reputation: 1
What should be the sql command(oracle) to add 'NOT NULL' constraint, with a constraint name, to a column of existing table?
Upvotes: 0
Views: 34
Reputation: 12179
alter table t add constraint my_named_not_null check ( x is not null );
Upvotes: 1