Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sparrow
Starting Member
20 Posts |
Posted - 2008-08-27 : 18:56:08
|
| I have the following statementUPDATE Programme SET fSTMValue =( fCredit / ( fDuration / 12 ) ) FROM Programme Which when run returns the following errorMsg 8134, Level 16, State 1, Line 1Divide by zero error encountered.There are no zeros in either the fcredit or fDuration columnsI have run the statement UPDATE Programme SET fSTMValue =( fCredit / fDuration ) FROM Programme Which runs fineAny ideas?Cheers |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sparrow
Starting Member
20 Posts |
Posted - 2008-08-27 : 19:17:02
|
| Thats the oneThanks |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|