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

what is a foreign key ? : Sql dba

1028


Do prepared statements prevent sql injection?

898


Is join same as left join?

979


Is hadoop a nosql?

950


What is a rank in sql?

901


how to extract a unit value from a date and time? : Sql dba

948


What are different types of statements supported by sql?

1100


How to run sql*plus commands in sql developer?

1086


What are the sql aggregate functions?

1068


Are dml statements autocommit?

987


Which is the correct statement about truncate and delete?

1037


how to calculate the difference between two dates? : Sql dba

996


What is a composite primary key?

1033


How delete all records from table in sql?

930


Does view contain data?

989