Question: In oracle sql, how do I add not null constraint at end of create table block and give it a name without using the CHECK

In oracle sql, how do I add "not null constraint" at end of create table block and give it a name without using the CHECK constraint?

Is it e.g., CONSTRAINT constraintName NOT NULL

If so, then how does the statement know which columnName I'm referring to to make NOT NULL?

I know that I can do this after declaring the column, what I'm wondering about is how to do this after declaring all the columns.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!