In my table, I have a field named iCodeTerm. This field is integer type, with values varying between 0 and 99. A problem appears from nowhere. When I do a very simple SQL query, like the following:
SELECT * FROM MyTable WHERE iCodeTerm=0
I got a fatal error (Exception Code C0000005).
But, if I change the WHERE clause by EMPTY(iCodeTerm)
or if I try iCodeTerm>0, I don't have this problem.
Is my table corrupted?