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

What is the implicit cursor in oracle?

569


What is a table index?

563


How to convert character types to numeric types?

578


Explain a segment?

619


Explain enable novalidate constraint.

597






How to convert numbers to characters in oracle?

588


Is there an oracle sql query that aggregates multiple rows into one row?

542


How many types of segments in Oracle?

529


How to connect to a local oracle 10g xe server?

534


What is the data type of dual table?

527


What is hash cluster in oracle?

596


What are the built-in functions used for sending Parameters to forms ?

2844


What is procedure overloading in oracle?

546


What is the recommended interval at which to run statspack snapshots, and why?

2435


What is tns entry?

621