I have a query which checks how many records of a certain type are there using count().
select count(*) from abc where date="some value"
Here, is it possible that my query returns null or DBNull? Should I check for them?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just try it:
Per MSDN: