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 are the arithmetic operations?

578


What is the sql query to concatenate column values from multiple rows in oracle?

559


How to omit columns with default values in insert statement in oracle?

577


How to connect to a remote server?

553


What are the differences between primary key and unique key?

509






How to experiment a data lock in oracle?

593


How do I use os authentication with weblogic jdriver for oracle and connection pools?

573


How to shutdown your 10g xe server from command line?

554


What is partitioned table in Oracle?

630


What is coalesce function?

570


How to rename an existing table?

605


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

1967


How to write numeric literals in oracle?

606


What is the difference between I and G in Oracle?

603


What is define in oracle?

563