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 / sudipta santra

Yes, Krupananda, U r very right..I am explainning the trigger:

Create or replace trigger bri_tab_101_rec
before insert on table1
for each row

declare
usr_ins_excep exception;
begin
if :new.column4 is null then
raise usr_ins_exception;
end if;
exception
when usr_ins_excep
<< do exception code>>
rollback;
end;

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is using clause and give example?

1008


Why oracle is used?

1016


Give the various exception types.

960


How do you find current date and time in oracle?

1002


What is a cursor and what are the steps need to be taken?

1148


What is a named program unit?

1036


What is a database table in oracle?

982


What are the extensions used by oracle reports?

1006


What is Reduced List of Values?

2125


List the types of joins used in writing subqueries?

957


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

1014


How to use an explicit cursor without open statements?

1024


Is oracle an open source?

1035


What is transaction control statement and how many types of transaction control statement in Oracle?

1101


What is the difference between $oracle_base and $oracle_home?

1052