In my table i have 4 columns with 100 records
but in that 4 columns one column contains all NULL values
so can i add NOT NULL CONSTRAINT on that column......... ok
if it is not possible, can i add NOT NULL CONSTRAINT from
101 Record Onwards?

Answer Posted / preethi raju

Yes it is possible by using novalidate with alter table command:

alter table table_name modify(column_with_null constraint constraint_name not null novalidate);

So the novalidate does not check the existing columns which contains the null values.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Redo Log Buffer in Oracle?

634


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

1585


What is a trace file and how is it created in oracle?

554


How do I connect to oracle?

562


What's dateware house and what's clustor with practicle example

1643






How to name query output columns in oracle?

692


What is a read write transaction in oracle?

606


How to use "if" statements on multiple conditions?

723


How to use attributes of the implicit cursor in oracle?

565


How to use "while" statements in oracle?

742


Explain what are the uses of rollback segment?

589


What do you mean by merge in oracle and how can you merge two tables?

527


Explain the difference between a procedure and a function?

561


What is oracle server autotrace in oracle?

616


Explain parameter file in oracle.

580