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 the use of & in pl sql?

988


What is the use of count (*) in sql?

983


Is left join inner or outer by default?

975


How to handle bulk data?

1269


What is 19 null in sql?

899


Explain the types of joins in sql?

966


Why stored procedures are faster than query?

971


Is sql similar to python?

919


What is sql injection vulnerability?

872


What is a recursive stored procedure?

1098


Why do we use triggers?

916


What is pl sql record in oracle?

971


What is oracle pl sql developer?

936


Write a sql query to get the third highest salary of an employee from employee_table?

1029


How do sql databases work?

947