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 / millerdq

The argument that no two nulls are equal does not prove
anything because it's also true that no two nulls are
different.

if null <> null ..... is false


So, one could also claim that a unique key requires that
all values are unique, given that two nulls are not unique,
it is therefore not allowed.

The fact is, ansi standard says multiple nulls are
permitted in a unique key. However, not all dbms's are
compliant. Oracle permits it; SQL Server does not.

So, best answer...it depends on the dbms

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is program debugging?

1238


Is oracle and sql same?

1007


what is the difference between a web-garden and a web-farm? : Sql dba

1077


What does <> sql mean?

1078


What is int identity in sql?

1130


Where the sql database files are stored?

1012


What is not equal in sql?

1114


How to fetch alternate records from a table?

1227


How can we solve sql error: ora-00904: invalid identifier?

1245


What does trigger mean in psychology?

958


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

3041


What is difference between nchar and nvarchar?

1021


How to call a javascript function from pl sql?

1130


What is difference between joins and union?

1117


what is bcp? When is it used?

1101