beetlebailey
Programmer
Hopefully this is a simple question. I am using the following error formula within Excel 2000 which prevents the #DIV/0! from showing up in the spread sheet:
=IF(ISERROR(SUM(C3:C12)),0,SUM(C3:C12))
Now, I am trying to query a SQL server database with the following query and receive a "Divide by zero error":
Select Hour1/Tact1 as PCT1 from vpd where line=505
Is there a similar way to prevent such errors from occurring in SQL server 2000 ?
Thanks, "beetle
=IF(ISERROR(SUM(C3:C12)),0,SUM(C3:C12))
Now, I am trying to query a SQL server database with the following query and receive a "Divide by zero error":
Select Hour1/Tact1 as PCT1 from vpd where line=505
Is there a similar way to prevent such errors from occurring in SQL server 2000 ?
Thanks, "beetle