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
what is the difference between cluster and non cluster index? : Sql dba
Define union, minus, union all, intersect ?
How is data stored on a disk?
how can you see all indexes defined for a table? : Sql dba
what is the difference between join and union? : Sql dba
What are the different ddl commands in sql?
Can we join more than 2 tables in sql?
Is stored procedure faster than query?
how to check myisam tables for errors? : Sql dba
How do I get sql certification?
How do you bind variables in pl sql?
What are aggregate functions in sql?
how is myisam table stored? : Sql dba
What are joins in sql?
How many triggers can be applied to a table?