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
How to connect a sql*plus session to an oracle server?
How do you define a foreign key?
How do you declare a constant?
What is the purpose of cursors in pl/sql?
How do rank () and dense_rank () differ?
Does truncate free space?
Is there any restriction on the use of union in embedded sql?
List and explain the different types of join clauses supported in ansi-standard sql?
Is primary key clustered index?
What is range partitioning?
What does count (*) mean?
How do you rank data in sql?
What are pl/sql packages?
what are different types of keys in sql?
What are sql indexes?