0

What should be the sql command(oracle) to add 'NOT NULL' constraint, with a constraint name, to a column of existing table?

1 Answer 1

1
 alter table t add constraint my_named_not_null check ( x is not null );
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.