Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is oracle host variable?

976


What is the difference between 10g OEM and 11g OEM?

915


How to delete a column in an existing table?

1015


How to save query output to a local file?

967


What is the usage of synonyms?

1056


What are the differences between lov and list item?

986


What are the execution control statements?

1013


What are set operators?

1027


When do you get a .pll extension in oracle? Explain its importance

982


Why do we need oracle client?

881


How to add a new column to an existing table in oracle?

1068


How to use existing values in update statements using oracle?

1009


I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?

1043


Write a trigger example in oracle?

975


What are the roles of dba?

1017