richmond4356 richmond4356
  • 16-07-2019
  • Computers and Technology
contestada

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

Respuesta :

SaniShahbaz
SaniShahbaz SaniShahbaz
  • 25-07-2019

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.

Answer Link

Otras preguntas

which is bigger 3/7 or 2/5
what is the sum of x2-3x+7 and 3x2+5x-9
'A traditional economy is characterized by the supply of goods in which two people trade their possessions with each other. This is also known as _____.'
what's the difference between bitmap image and vector image?
Which equation demonstrates the distributive property? a. 15 + 40 = 55 b. 15 x 40 = 40 x 15 c. (3 + 8)5 = 5(3 + 8) d. 15 + 40 = 5(3 + 8)
x+1.5=32; 17 tell whether the given number is a solution to the equation
A bedroom is 5.2 meters wide. find its width in feet
What is Virginia's human environment interaction
x+1.5=32; 17 tell whether the given number is a solution to the equation
Cory has 15 die-cast cars in his collection. Each year his collection increases by 20%. Roger has 40 cars in his collection. Each year he collects 1 additional