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

How to retrieve the count of updated rows?

1128


What is oracle datasource?

993


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2827


How to do a full database export?

1114


How to resolve name conflicts between variables and columns?

1031


what is the difference between substr and instr function in oracle?

1091


What is a sub query and what are the different types of subqueries?

1127


What is raw datatype?

1141


How to retrieve values from data fields in record variables?

1120


Which is better Oracle or MS SQL? Why?

6390


What is recovery manager(rman) backup in Oracle?

1185


Is java required for oracle client?

1002


What are the most common interview questions on ETL Testing for experience?

1145


How to update values on multiple rows in oracle?

1035


Explain the use of online redo log files in oracle.

1038