why can't we assign not null constraint as table level
constraint

Answers were Sorted based on User's Feedback



why can't we assign not null constraint as table level constraint..

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

why can't we assign not null constraint as table level constraint..

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

why can't we assign not null constraint as table level constraint..

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

Post New Answer

More Oracle General Interview Questions

Display the number value in Words?

1 Answers  


25. Display the client number and the value of the highest value order placed by that client.

2 Answers   Wipro,


How to select all columns of all rows from a table in oracle?

0 Answers  


what is cartesian product?

2 Answers  


What is meant by redo log buffer ?

2 Answers  


Can you have more than one content canvas view attached with a window ?

1 Answers   Oracle,


What are the oracle built-in data types?

1 Answers  


What are the set operators union, union all, minus & intersect meant to do?

1 Answers  


When do I need to use a semicolon vs a slash in oracle sql?

1 Answers  


what r routers?

1 Answers  


what are pseudocolumns?

4 Answers  


What would you do with an in-doubt distributed transaction?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)