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 / hassan khan

A unique key constraint does not imply the NOT NULL
constraint in practice. Because NULL is not an actual value
(it represents the lack of a value), when two rows are
compared, and both rows have NULL in a column, the column
values are not considered to be equal. Thus, in order for a
unique key to uniquely identify each row in a table, NULL
values must not be used. According to the SQL standard and
Relational Model theory, a unique key (unique constraint)
should accept NULL in several rows/tuples — however not all
RDBMS implement this feature correctly.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the 'mysql' command line options? : Sql dba

1076


what is the difference between myisam static and myisam dynamic? : Sql dba

1067


Why is theta join required?

1148


What is ttitle and btitle?

1066


Show the two pl/sql cursor exceptions.

1201


How many clustered indexes can you have?

975


Is and as keyword in pl sql?

962


How to return multiple rows from the stored procedure?

971


How do I enable sql encryption?

1035


What do you understand by pl/sql cursors?

1090


how to drop an existing index in mysql? : Sql dba

1069


What are the 3 types of behavioral triggers?

1256


What is the largest value that can be stored in a byte data field?

1013


What is replication id?

941


What is a scalar value in sql?

1076