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...

Can we use more than one null value for unique key?

Answer Posted / arika

We can insert duplicate nul values in palce of using unique
key constrint.Because all nulls are not equal.


ex:-
select * from emp where comm=null;
explenation;
here equal operator not support null value because
all nulls are not equal
ex:-
select * from emp where comm is null;
explenation:
'is' operator suport null

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to disable a trigger name update_salary?

1262


What are primary key and foreign key and how they work?

972


How does one use sql*loader to load images, sound clips and documents? : aql loader

1180


What are the triggers associated with image items?

1038


What are inbuilt functions in sql?

1048


How do you define a foreign key?

992


What is the reports view in oracle sql developer?

973


Does sql backup shrink transaction log?

974


What is the starting oracle error number? What is meant by forward declaration in functions?

987


What is the difference between rename and alias?

1338


what are sequences

1739


What is trigger in flip flop?

1007


how to run 'mysql' commands from a batch file? : Sql dba

1110


What are the constraints available in sql?

1044


Is sql difficult?

1148