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
How to change the name of a database user?
Explain iaas, paas and saas?
How many databases Microsoft SQL server provides?
What programming language would you use to create embedded functions in ssrs?
What is query and its types?
How do clustered indexes store data?
Explain primary key, foreign key and unique key?
What is sql azure database?
How you can minimize the deadlock situation?
How to connect Azure federated root database and apply federation in entity framework?
What is clustered vs nonclustered index?
How to locate and take substrings with charindex() and substring() functions?
What is table-valued sub query?
What is tempdb database? : SQL Server Architecture
What do you understand by sql server agent?