Ask Question
11 October, 00:42

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

+1
Answers (1)
  1. 11 October, 01:03
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers