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
Can we shrink data file in sql server?
what is the difference between Tabular and Matrix report?
What are the parts of a function?
What is sql server programming?
Explain about the command-line tool SQLCMD?
what is the difference between a primary key and a unique key? : Sql server database administration
What is the Disadvantage of indexed sequential file.
Define right outer join in sql server joins?
What is implicit mode in sql server?
What is sql view?
What are types of storage modes? : sql server analysis services, ssas
How to search for a string in all stored procedure in sql server?
What is default constraint in ms sql server?
can SSRS reports Cache results?
Explain about analysis services?