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 / krupananda

It is not possible to add not null constraint on existing
column which contains null values.
but we can add not null constraint from 101 record onwards
using triggers.

using triggers it is possible to restrict not null values

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can multiple cursors being opened at the same time?

612


Explain enable novalidate constraint.

595


How to create a table index?

564


what is insert all statement in sql

5507


Briefly explain what is literal? Give an example where it can be used?

540






How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1827


How to check database size in Oracle?

635


How to select all columns of all rows from a table in oracle?

588


What is max rowid in oracle?

551


What is a data lock in oracle?

607


Respected sir, Please send me technical questions related to oracle apps..

1377


What is bulk load in oracle?

589


How do you store pictures in a database?

555


Why does for update in oracle 8 cause an ora-01002 error?

543


How to create a testing table in oracle?

543