what is the out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;
Answer Posted / nitin yadav(nitin.yadav.india@
u can not compare two nulls
null means nothing.so
ANS 1:no row
ANS 2:All row (because of 1=1 is always true for all rows)
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is SQL Azure Fabric?
Explain powershell included in sql server 2008?
What stored by the model? : sql server database administration
What is 'Join' and explain its various types.
How do you create a clustered index?
Which are the third-party tools used in sql server and why would you use them?
Explain the properties of subqueries in sql server?
Can we insert data into a view?
Explain steps of normalization?
What does <> symbol mean?
What is command parameter in ssrs?
How to divide query output into multiple groups with the group by clause in ms sql server?
Is truncate a dml command?
ow to bring suspect mode datbase online from scratch
Difference between report and query parameter. Why do we need different type of parameter?