why can't we assign not null constraint as table level
constraint
Answers were Sorted based on User's Feedback
Answer / lokanath
Because its a Column Level constraint.
Not Null is a Constraint which will ensure the Column
should not be null.
| Is This Answer Correct ? | 10 Yes | 12 No |
Answer / senthil
not null constraint applied on table level constraint but table must be empty otherwise not possible .
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / newton_dba
A NOT NULL CONSTRAINT IS USAUALLY APPLIED ON COLUMN LEVEL
BUT IT CAN BE APPLIED ON THE TABLE LEVEL BY USING ALTER
TABLE STATMENT
ALTER TABLE EMP
MODIFY (ENAME CONSTRAINT EMP_ENAME_NN NOT NULL);
| Is This Answer Correct ? | 7 Yes | 13 No |
Display the number value in Words?
25. Display the client number and the value of the highest value order placed by that client.
How to select all columns of all rows from a table in oracle?
what is cartesian product?
What is meant by redo log buffer ?
Can you have more than one content canvas view attached with a window ?
What are the oracle built-in data types?
What are the set operators union, union all, minus & intersect meant to do?
When do I need to use a semicolon vs a slash in oracle sql?
what r routers?
what are pseudocolumns?
What would you do with an in-doubt distributed transaction?