what is the out put of below queries?
a. select * from Emp where null = null;
b. select * from Emp where 1=1;

Answer Posted / rohit

in first case it would response and it will show error and
in second case it will show object belonging to first row
and column

Is This Answer Correct ?    4 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is log shipping?

583


Differentiate between truncate vs delete in mssql?

528


Why variables called the most powerful component of ssis?

595


How to get a list of all tables with "sys.tables" view in ms sql server?

551


What is for xml in sql server?

540






Do you know the different ddl commands in sql?

593


What are the different types of subquery?

617


How do you delete duplicate rows in sql server?

508


What is field with example?

517


What are “phantom rows”?

1245


What is normalization 1nf 2nf 3nf?

631


Do you know what is replace and stuff function in sql server?

469


In what sequence sql statement is processed?

585


can we have a nested transaction? : Sql server database administration

507


What is the difference between TRUNCATE and DROP?

633