Ask Question
8 February, 11:59

How to solve "An expression of non-boolean type specified in a context where a condition is expected near ___" error

+5
Answers (1)
  1. 8 February, 14:28
    0
    This type of error is generated when we add left expect left hand side of the expression to be evaluated but we have not specified the right hand side variable on which the value will be checked.

    For example:

    while querying the databse if the query is like:

    " Select * from user where id = 1 and = 'asad' "

    Here i have specified the right side of first filter as id but the right side of 'asad which should be name in this case is missing and thus the error of non-Boolean type expression will occur here.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “How to solve "An expression of non-boolean type specified in a context where a condition is expected near ___" error ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers