+ 2
What are logical errors?
4 ответов
+ 3
logical errors means
your code syntax is OK
but your logic is wrong
suppose you are said to get all student whose age smaller than 15
you write SQL query like
select student_name from student_tbl where student_age > 15
this is logical error because you are asked to get all student smaller than 15, but u used greater than.
+ 2
in addition, logical errors could be run time errors such as:
-- division by zero exception
-- database server not avilable or the server is down
-- dead lock
-- wrong data type
-- violation of field constraints
-- etc
+ 2
Thanx both of you
0
The errors caused by logical operator's majority