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 a formula column be obtained through a select statement ?

2090


 How to use an oracle sequence generator in a mapping?

801


What is blob datatype?

767


What is the data pump import utility?

775


What is a server parameter file in oracle?

786


How to shutdown your 10g xe server?

819


How to calculate date and time differences in oracle?

757


How do I learn what codesets are available in oracle?

779


How do I know if oracle is installed on windows?

665


How to lock and unlock a user account in oracle?

840


What is ASM (Automatic Storage Management) in Oracle?

890


how do we code triggers , store procedure , Performance tuning and indexing in a Java Project? Pls kindly get me the perfect answer with the code for each....thank you in advance............pls any body kindly help me soon as possible....

1802


Why is oracle database so popular?

763


What is Java Pool in Oracle?

831


what is dynamic SGA and static SGA

4056