adspace


What are the rules to be applied to nulls whilst doing comparisons?

Answer Posted / Rajnish Kumar Srivatsav

When comparing values with NULL in SQL, the following rules apply:n
1. NULL is neither greater than nor less than any other value.
2. NULL equals NULL only.
3. All other values are neither equal nor unequal to NULL.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the advantages of sql ? : Sql dba

1154


Do we need to rebuild index after truncate?

1156


What is the best sql course?

1064


Is primary key clustered index?

1028


how to start mysql server? : Sql dba

1279


What is your daily office routine?

2353


What is the current version of sql?

1106


how many tables will create when we create table, what are they? : Sql dba

1157


how to escape special characters in sql statements? : Sql dba

1125


what is sql server agent? : Sql dba

1190


what are all the common sql function? : Sql dba

1143


Can we rollback truncate?

1086


what are aggregate and scalar functions? : Sql dba

1143


How do I remove duplicates in two columns?

1203


If a cursor is open, how can we find in a pl/sql block?

1252