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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

1571


What is an oracle and why it is used?

615


How to use in conditions in oracle?

543


Can we write insert statement in function in oracle?

524


What is set operator oracle?

516






Explain a synonym?

590


Is it possible to set second Primary Key Constraint in a table in Oracle Database ?

637


What is pragma autonomous transaction in oracle?

510


What are the restrictions in a oracle read only transaction?

556


How to create an oracle database?

569


What are the benefits of ordbms?

608


What happens if you lost a data file?

572


What is snapshot is too old? Give and example for better understand.

1089


How do I start tns listener?

528


What is an oracle cursor variable?

603