I am getting a division by Zero error. Obviously I have a field with contains 0 and I am selecting using this field.
Situation:
Select * where `field1`/`field2` > 10
if I set field2 to NULL with this problem go away?
The field is only 0 upon initialization of a new row. If I initialize the row to default fields to NULL with my statement succeed or will I still get errors?
Situation:
Select * where `field1`/`field2` > 10
if I set field2 to NULL with this problem go away?
The field is only 0 upon initialization of a new row. If I initialize the row to default fields to NULL with my statement succeed or will I still get errors?