what is the out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;
Answer Posted / anil patel
a. select * from Emp where null = null;
null= null is always false os no rows returns.
b. select * from Emp where 1=1;
it returns all rows
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is database replication? What are the different types of replication you can set up in sql server?
Do you know what is xpath?
Why can there be only one clustered index and not more than one?
What are the 10 characteristics of data quality?
Is ssrs support other database except ms sql server?
what are the core components of SSRS?
What is the difference in accessing db between sql server vs sql azure?
Tell me about pre-defined functions of sql?
How to add more data to the testing table in ms sql server?
Why and when do stored procedure recompile?
Explain transaction server isolation?
how can you attach more than 20 ldf files in sql server
Tell me what is log shipping?
please differentiate between delete and truncate?
What is t-sql script to take database offline – take database online.