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(9229430059)
A. Will give you no record because null have no value that
means no comparision between two nulls.
B.will give all row because 1=1 condision always true for
all rows.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.
Explain Geography datatype in SQL Server
What are the differences between triggers and stored procedures?
What is the difference between truncate and delete commands?
How to create indexed view?
What is code near application topology?
What are different types of subquery?
How to set database to be single_user in ms sql server?
In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance
How to create an index on a view?
What is the primary use of the model database?
How to connect of datebase with sql express.?
What is ddl and dml commands?
How to copy data from one table to another table?
How do I find the default sql server instance?