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

Answer Posted / anil kumar abbireddy

We can insert any number of null values in the column which
contains the unique key
the reason is NULL is not equal to anothere NUll
so each null is different so there is no question of
duplication

Is This Answer Correct ?    140 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is user in sql?

764


Is sql a dbms?

732


How do I save a sql query?

735


How do I view tables in sql developer?

680


What is pl sql commands?

734






Which constraints we can use while creating database in sql?

796


What is lookup table in sql?

767


a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution

1956


What is %type in pl sql?

713


What is the purpose of my sql?

684


What are the possible values that can be stored in a boolean data field?

723


What is the advantage of nosql?

739


Which is better varchar or nvarchar?

742


what is 'trigger' in sql? : Sql dba

728


Can we join more than 2 tables in sql?

682